Commit Graph

95 Commits

Author SHA1 Message Date
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
battlmonstr
7ee46ea2b5
CI: run integration tests on trunk after PR is merged (#4075)
Running on PR close event tests the PR commit, not the final merged commit.
The final commit is tested by "push" event, but it appears as "skipped" in the list of devel ccmmits,
because "push" event was skipped by "if".
2022-05-04 18:41:32 +02:00
battlmonstr
c9a1c93b44
tests: split slow integration tests (#4048) 2022-05-04 10:35:59 +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
CarstenNZ
f80ae03b46
fix contributing doc (#3682) 2022-03-12 14:47:54 +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
Alex Sharov
861ef7a6c1
Open blocks snapshots (#2957) 2021-11-16 15:33:41 +07:00
Alex Sharov
5fb1a4ce49
Add db-tools to Dockerfile (#2950) 2021-11-15 10:14:19 +07:00
ledgerwatch
3e0528b557
Update ci.yml (#2713) 2021-09-21 16:31:07 +07:00
Alex Sharov
a681cd5676
check go 1.17 on ci (#2601) 2021-09-01 12:00:01 +07:00
alex.sharov
f042b5310f delete dependabot 2021-07-12 13:54:13 +07:00
Alex Sharov
2f79fa7968
Create dependabot.yml (#2276) 2021-07-03 14:44:38 +07:00
Alex Sharov
6a5f86423c
Remove "numgc" from logs (#2275) 2021-07-03 14:44:23 +07:00
Alex Sharov
a535e8f30c
switch to mdbx-go module, and db-tools to libmdbx submodule (#2199)
* move mdbx to submodule

* move mdbx to submodule

* move mdbx to submodule

* move mdbx to submodule

* move mdbx to submodule

* move mdbx to submodule

* move mdbx to submodule

* move mdbx to submodule

* move mdbx to submodule

* move mdbx to submodule

* move mdbx to submodule

* move mdbx to submodule

* move mdbx to submodule
2021-06-19 21:30:12 +01:00
Alex Sharov
e9f510c2b7
erigon as lib (#2186) 2021-06-18 10:35:11 +07:00
alex.sharov
8da40b43ac Revert "info"
This reverts commit 470a9918b2.
2021-06-17 15:08:19 +07:00
alex.sharov
470a9918b2 info 2021-06-17 13:21:24 +07:00
ledgerwatch
95d686f24a
Update ci.yml 2021-06-05 11:05:02 +01:00
Alex Sharov
bebaebb13a
mdbx 0.10.1 (#2083)
* mdbx 0.10.1

* remove -tags mdbx

* remove -tags mdbx

* remove -tags mdbx
2021-06-04 13:26:15 +01:00
Andrea Lanfranchi
1e596b786d
Update bug.md 2021-06-03 14:46:26 +02:00
Andrea Lanfranchi
107a041cd3
Update question.md 2021-06-03 14:45:34 +02:00
Andrea Lanfranchi
8eeb6174b4
Update bug.md 2021-06-03 14:43:37 +02:00
Andrea Lanfranchi
0839f9cd26
Update bug.md 2021-06-03 14:43:07 +02:00
Alex Sharov
737fdcd365
move ethash dags to datadir (#2074)
* move ethash dags to datadir

* save
2021-06-02 08:03:50 +01:00
Alex Sharov
9fe96e8a95
reproducible build (#2070) 2021-06-01 16:00:10 +07:00
ledgerwatch
7622e45713
Execution stage slow in download.v2 - drop all tx messages until after initial cycle (#1985)
* Rollback earlier

* Drop tx messages until after initial cycle

* Fix for stuck Ctrl-C

* Disable windows tests

Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-05-21 20:07:23 +01:00
Alex Sharov
215623da80
Windows support (#1944) 2021-05-20 23:46:12 +07:00
Alex Sharov
af6a6abd50
Remove interfaces from root (#1951) 2021-05-17 20:28:50 +07:00
Alex Sharov
0c91bfbf3e
RPCDaemon: support Pending block (#1942)
* clean

* save

* pubsub

* pubsub

* pubsub

* pubsub

* pubsub

* pubsub

* save

* tx pub-sub

* tx pub-sub

* clean

* clean

* save

* save

* save

* save

* save

* Squashed 'interfaces/' content from commit c469f3ae0

git-subtree-dir: interfaces
git-subtree-split: c469f3ae073b60c8821b61fed2910191080ef835

* save

* save

* save

* save

* Squashed 'interfaces/' changes from c469f3ae0..958dfc669

958dfc669 save

git-subtree-dir: interfaces
git-subtree-split: 958dfc669f8daeefe686a13aa852fb95f1537886

* save

* save

* up some deps

* up some deps

* clean

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test
2021-05-17 13:15:19 +01:00
Alex Sharov
3d3298cc17
Fix lint ci (#1945) 2021-05-17 09:42:24 +07:00
Artem Vorotnikov
e0dd6bafc6
Enable CI for pushes to master (#1900) 2021-05-08 00:43:04 +03:00
ledgerwatch
fe0a882a45
Trace filter (#1895)
* Trace filter

* Fix self-destruct traces

* Update ci.yml

Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-05-07 10:05:47 +01:00
Artem Vorotnikov
bb305e183e
Update ci.yml (#1893) 2021-05-06 18:22:01 +01:00
Alex Sharov
964f8f76a2
Pin OS version on CI, Add older os to CI (#1864) 2021-05-03 16:59:35 +07:00