Commit Graph

77 Commits

Author SHA1 Message Date
Alex Sharov
e2c5984a12
attempt to finx bindtest (#7167) 2023-03-23 09:24:25 +00:00
alex.sharov
eb93217ccb linter up 2023-03-23 10:34:44 +07:00
Alex Sharov
09154c5be0
Go 1.18 drop (#7159) 2023-03-23 03:19:07 +00:00
Giulio rebuffo
6038ce7c9d
Updated CI to 1.19.0 (#7139) 2023-03-19 19:06:33 +00:00
Alex Sharov
7806324c4a
test release (#6802) 2023-02-08 16:31:32 +07:00
Max Revitt
ebea8298df
feat(ci): run 2x dev nodes for automated-testing (#5346) 2022-12-09 20:07:57 +07: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
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
30bf54ebf2
disable ci3 (#6062) 2022-11-16 15:49:32 +03: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
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
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
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
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
battlmonstr
bc43a3f36a
CI: more caching (#4083)
Cache "go-build" containing cached build artifacts from the Go build system.
This saves up to:
  - 6 min on Linux (from 10 min to 4 min)
  - 3 min on macOS  (from 13 min to 10 min)
  - 7 min on Windows (from 27 min to 20 min)

Cache Windows deps (mingw, cmake).
This saves 6,5 min on Windows builds (from 20 min to 13,5 min)
2022-05-06 08:54:05 +07:00
battlmonstr
a0af7c0567
CI: run integration tests on Windows (#4076) 2022-05-05 15:59:54 +07:00
ledgerwatch
4e683e1a34
Revert "Speed up docker image build by use layer cache (#4038)" (#4054)
This reverts commit e758fb800b.
2022-05-03 17:00:52 +01:00
EXEC
e758fb800b
Speed up docker image build by use layer cache (#4038)
* speed up docker image build by use layer cache

* rearrenge Dockerfile

* enable docker layer cache in github action
2022-05-02 11:55:16 +07:00
ledgerwatch
1bcd73de46
Update ci.yml (#3936) 2022-04-22 14:23:29 +07:00
Alex Sharov
667125bc65
go_1.18 on CI and in Docker (#3843) 2022-04-21 14:51:30 +07:00
alex.sharov
673a0ad430 github actions/cache@v3 2022-04-11 08:55:21 +07:00
Alex Sharov
1bbe2037f3
linter 1.445 (#3809) 2022-04-01 15:20:27 +07:00
Alex Sharov
a357421719
Snapshots: notify rpcdaemon about new snapshot (#3755) 2022-03-24 09:25:38 +07:00
ledgerwatch
d5fb8f7d24
[erigon2] Separate handover timing (#3736)
* Separate handover timing

* Update

* Corrected handover time calculation

* Not use compression when aggregate

* Update to latest erigon-lib

* Update to erigon-lib main

* Update

* Disable reproducible builds

* Restore github actions

* Restore github actions

* Revert "linter to support go 1.18 (#3739)"

This reverts commit 1fd434d3d1.

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-03-19 16:15:12 +00:00
Alex Sharov
1fd434d3d1
linter to support go 1.18 (#3739) 2022-03-19 10:02:46 +07:00
Alex Sharov
b73415fb3f
new versions of github ci actions (#3730)
* save

* save
2022-03-18 11:28:18 +07:00
Alex Sharov
63adf0218a
linter up (#3672) 2022-03-10 12:20:20 +07:00
ledgerwatch
36e0dfeb00
Upgrade GitHub Actions to macOS 11 (#3054) 2021-11-29 15:37:52 +00:00
ledgerwatch
514e3d3053
Run CI actions on PRs and pushes for stable branch (#2968) 2021-11-16 12:13:36 +00:00