Commit Graph

13 Commits

Author SHA1 Message Date
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 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 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
Ș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 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 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
Ș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 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 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 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