Commit Graph

141 Commits

Author SHA1 Message Date
Alex Sharov
7806324c4a
test release (#6802) 2023-02-08 16:31:32 +07:00
alex.sharov
6170831d82 release: workflow manual dispatch 2023-02-08 10:54:34 +07:00
alex.sharov
08b10cd667 release: workflow manual dispatch 2023-02-08 10:47:11 +07:00
Max Revitt
451f3e64ca
feat(issue_templates): update bug template to gather more info (#6725) 2023-01-28 21:22:34 +00:00
Max Revitt
ebea8298df
feat(ci): run 2x dev nodes for automated-testing (#5346) 2022-12-09 20:07:57 +07:00
Alex Sharov
16cd87748f
E3: fix unwind changes visibility (#6147) 2022-11-30 08:31:13 +07:00
Max Revitt
41278c165c
tidy(hive): remove badge and generation code (#6141)
Was not working as expected, and probably necessary now we can see hive
result nightly.
2022-11-28 19:16:05 +07:00
Max Revitt
79fc64e7f2
fix(hive): prevent concurrent execution cancellation for same commit (#6122) 2022-11-24 21:33:43 +07:00
Max Revitt
f362856836
ci(hive): also allow workflow_dispatch to trigger (#6115) 2022-11-24 09:11:00 +07:00
Max Revitt
1122e865be
ci(hive): use run context rather than artifacts for results (#6114)
When running from forks results would need to be uploaded as artifacts
and separately parsed. This is no longer true when running as a
scheduled job and we can therefore fix and get a speedup by reading the
results straight from the workspace.
2022-11-23 15:02:53 +00:00
Max Revitt
4669954fc5
ci(hive): move hive run to nightly job (#6100)
- remove hive run from CI yaml
- create nightly hive yaml which runs hive at 1am each day on a hosted
runner (can move to self hosted if needs be in future)
2022-11-22 17:12:17 +07:00
Alex Sharov
0bc56a4fd1
Revert "e3: enable integration testss" (#6098)
Reverts ledgerwatch/erigon#6097
2022-11-21 11:21:23 +07:00
Alex Sharov
17bbc7f262
e3: enable integration testss (#6097) 2022-11-21 10:50:01 +07:00
alex.sharov
faa92f9bbc save 2022-11-18 04:31:11 +03:00
Alex Sharov
d5c23c4df4
e3: enable test (#6071) 2022-11-17 16:06:57 +03:00
Alex Sharov
591c2c5ff4
e3: disalbe ci test (#6064) 2022-11-16 19:12:02 +03:00
Alex Sharov
30bf54ebf2
disable ci3 (#6062) 2022-11-16 15:49:32 +03:00
Alex Sharov
ba43ba56c3
e3: integration tests on ci (#5960) 2022-11-05 08:20:15 +00:00
Alex Sharov
4ead27fad9
e3: add "make test3" to CI (#5910) 2022-10-31 14:25:52 +07:00
Alex Sharov
86551e82f4
e3: parallel build missed indices (#5817) 2022-10-21 13:45:20 +07:00
Max Revitt
a4f8f74ae7
fix(ci): run docker job on github hosted runner (#5557)
Co-authored-by: Igor Mandrigin <mandrigin@users.noreply.github.com>
2022-09-28 19:31:36 +02:00
Max Revitt
26b0b8a008
tweak(ci): make clear docker stage does not push image and prevent run on devel #5564 (#5565)
* tweak(ci): make clear docker stage does not push image and prevent run on devel #5564

* tweak(ci): stop and remove all containers after run
2022-09-28 12:19:17 +01:00
Max Revitt
8b90cda633
feat(hive): run hive on devel only (#5527)
self hosted runners queue jobs and don't execute more than one job
at once, which leads to a huge pile-up in the case of the 1.5hr hive run

if not running on PR we can co-locate the jobs in the same workflow
2022-09-27 09:26:39 +07:00
Max Revitt
1c349d9d47
feat(ci): run daily job to mark and close stale issues (#5470) 2022-09-22 11:42:57 +01:00
Max Revitt
506dac35d2
feat(ci): run on self-hosted github runner (#5393)
* feat(ci): run on self-hosted github runner

* feat(hive): exclusions from ethdevops

* fix(ci): workspace cleanup, cancel in prog same sha
2022-09-18 11:01:11 +07:00
Tim Myers
e2301387eb
chore: goreleaser workflow fix (#5298)
Use the automatically provided GITHUB_TOKEN secret.

Currently only has the default permissions which should let
it read the tag as needed.

Commented permissions would allow it to also automatically write
a github release, but will see if it works without that for now
for minimimum change.
2022-09-07 11:44:21 +07:00
Tim Myers
20e882078e
chore: add multi-arch goreleaser workflow (#5185)
Upstreams the improvement from the maticnetwork/erigon fork
to add a goreleaser workflow that will build and release
a docker image for both arm and amd64.
2022-08-27 16:22:28 +07:00
Max Revitt
8f7ce51e11
feat(hive): add a few more exclusions (#5197)
* feat(hive): add a few more exclusions

* fix(ci): coverage badge fix
2022-08-27 09:34:15 +07:00
Håvard Anda Estensen
3b1d4d9c1b
Enable gocritic linter (#5173)
* Enable gocritic linter

* Remove dead linters

* Make gosec shut up
2022-08-25 09:08:56 +07:00
Max Revitt
0a3001d100
fix(hive): always pull image (#5161) 2022-08-24 09:49:03 +01:00
Max Revitt
64f1d17785
feat(hive): add exit code flag to prevent non-success codes (#5141) 2022-08-23 10:20:16 +07:00
Max Revitt
bcb3cac220
Hive - test exclusions (#5121)
* feat(hive): reduce output verbosity in CI

* feat(hive): run hive and parse as one to always generate output

* feat(hive): add exclusions (wip) and single step CI
2022-08-22 14:02:52 +01:00
Max Revitt
9732b3435c
feat(hiveci): thorax dockerhub repo with updated hive (#5005) 2022-08-11 21:43:16 +07:00
Alex Sharov
351cd49c21
go1.19 gofmt (#4988) 2022-08-10 19:04:13 +07:00
Enrique Jose Avila Asapche
0d08bd096f
disabled hive test (#4959) 2022-08-08 15:19:39 +03:00
Max Revitt
8b475564d9
feat(ci): hive xunit output parse (#4945) 2022-08-05 17:28:56 +03:00
Max Revitt
dfa77ac871
fix(ci): hive run event file location update (#4932) 2022-08-04 15:23:11 +01:00
Max Revitt
01641e3900
fix(ci): hive results workflow syntax (#4796) 2022-07-22 19:05:08 +03:00
Max Revitt
37ba45a627
feat(ci): badges for hive and code coverage on devel (#4793)
* feat(ci): badges for hive and code coverage on devel

* feat(ci): hive CI tidy up (#2)

run hive on successful CI only
run on non-draft PR only
2022-07-22 17:09:50 +02:00
Max Revitt
d2bbf22e3d
hive - run on successful CI (#4791)
* feat(ci): run hive tests as part of CI

* feat(ci): hive CI tidy up (#2)

run hive on successful CI only
run on non-draft PR only
2022-07-22 14:26:05 +02:00
Alex Sharov
cd8b10f57e
snapshot merger: smaller interface (#4786)
* save

* save

* save
2022-07-22 16:54:05 +07:00
Igor Mandrigin
42e59618a7
run engine tests on Hive 2022-07-21 14:50:03 +02:00
Max Revitt
770d7cf8bd
Hive CI output parse (#4737)
* feat(ci): run hive tests as part of CI

* feat(ci): add hive test runs and output parse

* feat(ci): parse hive output for forked repos
2022-07-21 14:47:36 +02:00
Alex Sharov
bda2697bcc
linter version up #4745 2022-07-19 10:56:14 +07:00
Cory
74cf9840ae
Patch plumbing of docker-compose UID/GID build args (#4527)
* Patch plumbing of docker-compose UID/GID build args

* Fallback to 1000/1000 if DOCKER_(U|G)ID not set

* Revise README.md instructions for docker further

* Fix existing typo forc 'servie' -> 'service'

* Rename PUID/GUID -> UID/GID

* Specify user in erigon docker service

* Rely on .env instead of specifying :-1000

* Polish Makefile for docker use case

* one more helpful comment

* make docker should use UID/GID --build-arg

* Fix make docker and more fail-fast if envvar set incorrect

* mv .env->.env.example to not intefere existing workflows

* Specify envvars in docker CI

* Adjust validate_docker_build_args to permit non-erigon user

* Also run docker CI target on macos-11 os

* Add DOCKER_UID, DOCKER_GID in hooks/build

* Patch docker build arg validation for macos

* Add actions-setup-docker@master for macos

* Don't run automated test for docker macos

* Cleanup Makefile

* Comments, targets for erigon users

* More Makefile cleanup, debugging still

* Typo fix

* Create subdirs before calling ls

* Get rid of flaky validation

* DOCKER_UID, DOCKER_GID init to runner if not set

* Get rid of unnecessary variable for now

* Improved README based on new changes

* Proper uid/gid `make user_*` when no envars set

* Fix typo in Makefile comment

* Fix make docker as sudo user
2022-06-30 16:11:37 +06:00
Zachinquarantine
07ee96a4d6
Fix CONTRIBUTING.md file (#4328)
Replaces "go-ethereum" with "Erigon"
2022-06-02 10:50:00 +07:00
battlmonstr
54cf932652
Makefile: pass docker build arguments (#4212)
Dockerfile requires some --build-arg options.
Fix "docker" target to pass them.
Fix GIT_TAG to reflect the most recent tag related to HEAD, instead of an unrelated most recent tag.
Use it as the image VERSION.

Image tags need to be passed explicitly if needed:

    DOCKER_FLAGS='-t erigon:latest' make docker
2022-05-21 10:21:35 +01:00
battlmonstr
24b52393fa
CI: windows-2022 (#4138)
Use matrix.os in cache keys to not share caches between OS versions:
- runner.os = Windows
- matrix.os = windows-2022
2022-05-16 21:43:00 +01:00
Alex Sharov
3e4fb5dd49
up linter version (#4108)
* save

* save

* save
2022-05-10 10:14:09 +07:00
battlmonstr
459b26d957
make: wmake refactoring (#4105)
* list "all" targets explicitly
* add missing targets
* add missing build flags
* add test-integration target
* show tests output
* use wmake test on CI
* update submodules for all targets (like Makefile)
* remove unused function Test-Administrator
2022-05-10 08:49:27 +07:00