Jakub Sokołowski
47f500e1ad
beacon-node-builds: refactor to rebuild after failures
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-05-21 00:38:03 +02:00
Jakub Sokołowski
ee9f8a74b7
bump beacon-node role and others to use WireGuard
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-05-19 23:03:14 +02:00
Arthur Koziel
04648b6465
Scan all DC's for Geth nodes ( #57 )
...
Signed-off-by: Arthur Koziel <arthur@arthurkoziel.com>
2021-05-19 17:54:46 +08:00
Jakub Sokołowski
c6c7159e94
distribute-validators: create container folder if missing
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-05-11 10:41:52 +02:00
Jakub Sokołowski
65d8302527
implement Eth1 Web3 URL fallbacks
...
Related:
https://github.com/status-im/infra-role-beacon-node/commit/92f740e0
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-04-19 20:27:52 +02:00
Jakub Sokołowski
45241a5a15
beacon-node-builds: drop use of -d:insecure
...
No longer necessary due to new secure HTTP backend:
https://github.com/status-im/nimbus-eth2/releases/tag/v1.1.0
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-04-13 08:07:49 +02:00
Jakub Sokołowski
3c0fe9e8fb
beacon-node-builds: fix systemd timer service group not existing
...
Fixes:
Failed to determine group credentials: No such process
Failed at step GROUP spawning /data/beacon-node-builds/unstable-small/build.sh: No such process
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-04-07 09:23:50 +02:00
Jakub Sokołowski
d88c8b44fc
beacon-node-builds: relax the sudoers regex for systemctl
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-03 08:46:37 +01:00
Jakub Sokołowski
9153bb02f1
logclean-job: fix bug in script that deletes newer first
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-02-27 15:37:49 +01:00
Jakub Sokołowski
b1ad100a50
logclean-job: increase timer timeout to 5 minutes
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-02-27 15:26:53 +01:00
Jakub Sokołowski
d31094d85c
logclean-job: reduce kept ES indices to 20
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-02-27 15:24:34 +01:00
Jakub Sokołowski
aee3b5eff5
beacon-node-builds: allow for repo updates for select builds
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-02-22 21:37:38 +01:00
Jakub Sokołowski
dd70e0652d
beacon-node-builds: add commit to labels
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-02-22 16:05:56 +01:00
Jakub Sokołowski
a269c3e490
distribute-validators: add --delete for rsyncing secrets
...
Also drop some debug messages, comment out ignore_errors.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-02-22 15:49:05 +01:00
Jakub Sokołowski
0e82fa7c03
beacon-node-builds: don't update git branch when deploying
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-02-09 18:35:32 +01:00
Jakub Sokołowski
f96fe517e7
beacon-node-builds: allow staff group membets to start builds
...
I was thinking of defining the jobs as nimbus user systemd units, but
that would not work unless nimbus user logged in at least once.
And Systemd services have no functionality for allowing non-root users
to start/stop/restart system services, so sudo is the simplest way.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-02-08 12:36:02 +01:00
Jakub Sokołowski
8e0966fb0e
beacon-node-builds: don't fetch if we're on a detached head
...
Causes failures when a tag is checked out, nothing to fetch.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-02-04 23:48:26 +01:00
Jakub Sokołowski
37c1c62a5d
add validators distributio for the new fleet
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-01-22 14:27:39 +01:00
Jakub Sokołowski
0bc722ca21
dist-validators: don't run any tasks if no layout is defined
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-01-18 19:47:51 +01:00
Ștefan Talpalaru
e71d1643b8
beacon-node-builds: support core dumps
...
- build with "-d:noSignalHandler" in NIMFLAGS
- keep binary copies for a week, so we can use them with core dumps on
target hosts
- finish replacing "item.branch" with "item.version"
- manually add a [nimbus-master] section to "ansible/inventory/test"
2020-12-18 21:56:32 +02:00
Jakub Sokołowski
8dc1db8f0b
nimbus-builds: add release build for eth2.prod fleet
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-12-11 18:44:34 +01:00
Jakub Sokołowski
cef9441279
beacon-node-builds: drop pushing each commit
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-20 17:33:03 +01:00
Jakub Sokołowski
afd230007f
beacon-node-builds: use the git_config resource
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-20 17:16:15 +01:00
Jakub Sokołowski
3eacfc36c7
beacon-node-builds: use docker_login resource
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-20 17:13:01 +01:00
Jakub Sokołowski
318e56bd04
beacon-node-builds: run with -j1 to not disturb containers
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-20 16:45:51 +01:00
Jakub Sokołowski
5455ec8f7c
distribute-validators: remove before copying validators
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-20 16:37:49 +01:00
Jakub Sokołowski
1f39b846ad
move builds to existing master pyrmont hosts
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-20 16:05:10 +01:00
Jakub Sokołowski
1a5ca8ab59
beacon-node-builds: drop building nimbus_beacon_node_spec_0_12_3
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-20 14:54:36 +01:00
Jakub Sokołowski
b57c46cf0a
distribute-validators: adjust ownership before chmod
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-17 16:26:16 +01:00
Jakub Sokołowski
bce497758b
distribute-validators: wildcards don't work in single quotes
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-17 15:47:18 +01:00
Jakub Sokołowski
f79d65f7c9
beacon-node-builds: bump timeout to 60 minutes
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-17 15:07:15 +01:00
Jakub Sokołowski
a11e60cc93
distribute-validators: make sure dist_validators_range has a value
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-17 14:01:21 +01:00
Jakub Sokołowski
8c68e3b56c
build nimbus_beacon_node also for master,devel,libp2p
...
This is necessary for the new pyrmont network.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-17 13:36:21 +01:00
Jakub Sokołowski
81857071de
distibute-validators: adjust permissions setting for secrets
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-12 13:29:34 +01:00
Jakub Sokołowski
2930e4456d
distribute-validators: add assert to check overlap of secrets
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-12 12:32:37 +01:00
Jakub Sokołowski
890784ae1d
distribute-validators: fix adjusting permissions
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-12 12:09:20 +01:00
Jakub Sokołowski
64b7736d85
distribute-validators: fix order of copied validators and secrets
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-12 11:52:09 +01:00
Ștefan Talpalaru
ffa65e00e0
build.sh: deal with Git history being changed upstream
...
and some drive-by improvements
2020-11-12 11:13:19 +01:00
Jakub Sokołowski
b452c6cddc
beacon-node-builds: update readme, add start example
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-10 17:02:50 +01:00
Jakub Sokołowski
055c74aa52
beacon-node-builds: set entrypoint based on targets
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-10 15:39:24 +01:00
Jakub Sokołowski
dba111b404
beacon-node-build: fix make targets for networks
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-10 14:01:52 +01:00
Jakub Sokołowski
ab42ec87cc
beacon-node-builds: build toledo at 20:00 UTC
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-10 13:24:56 +01:00
Jakub Sokołowski
39431c0bd8
beacon-node-builds: specify medalla and toledo make targets
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-10 12:56:52 +01:00
Jakub Sokołowski
f081c31012
don't set folder mode to 0750, breaks permissions
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-10 12:55:43 +01:00
Jakub Sokołowski
5bfaa61b73
distribute-validators: role to copy over validators and secrets
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-10 12:24:52 +01:00
Jakub Sokołowski
fafcfee4f6
beacon-node-builds: Use debian image for docker, add --force
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-09 01:20:22 +01:00
Jakub Sokołowski
f484a8617f
beacon-node-builds: add README, remove unused batches
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-08 22:50:32 +01:00
Jakub Sokołowski
7888b4379e
beacon-node-builds: automate building multiple branches
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-08 22:40:28 +01:00
Jakub Sokołowski
1b23e1a4e7
network-debug-script: add networkctl list
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-09-16 14:38:05 +02:00
Jakub Sokołowski
56e3f1d5cb
add network-debug-script to figure out host issues
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-09-16 12:50:46 +02:00