Commit Graph

192 Commits

Author SHA1 Message Date
Jakub Sokołowski f089923acd
switch to using containers based on host type
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 9fa06b2590
move build mater hosts to host_vars
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-20 16:54:24 +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 21a41cb1ed
drop unused variables, don't re-create containers every time
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-20 16:45:51 +01:00
Jakub Sokołowski 6b88b720d9
fix typo in group names, drop master
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 cf19d74410
add README missing from ansible/inventory folder
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-20 16:05:11 +01:00
Jakub Sokołowski 9ce7995256
move variables to individual group_vars files
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-20 16:05:10 +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 754f796871
drop the master host as well
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-20 16:05:10 +01:00
Jakub Sokołowski 68f357521d
change pyrmont host groups for cleaner playbook
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-20 16:05:09 +01:00
Jakub Sokołowski 8f4f4d69bd
remove old medalla hosts from inventory
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-20 15:10:55 +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 ded6fd584b
rename nimbus.tf to master.tf
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-20 14:53:44 +01:00
Jakub Sokołowski 3c2089ec82
update validators distribution for new layout of hosts
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-20 14:52:07 +01:00
Jakub Sokołowski 1caaddb924
remove to old medalla fleet
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-20 14:51:31 +01:00
Jakub Sokołowski 83a641e326
increase number of small pyrmont hosts to 4
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-20 14:23:03 +01:00
Jakub Sokołowski 521706c31c
update hostnames for validators distribution
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-20 13:55:13 +01:00
Jakub Sokołowski 8c6a01e7c7
resize large instances to be z1d.large
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-20 13:53:11 +01:00
Jakub Sokołowski d0f852adce
implement new layout and naming of pyrmont hosts
This is done in advance of resizing andlayout changes.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-20 13:51:38 +01:00
Zahary Karadjov ee0a8a55d4
Use dedicated Infura accounts for the Pyrmont fleet 2020-11-20 09:30:41 +02:00
Jakub Sokołowski 3888da1e6e
set beacon node infura web3 url from infra-pass
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-19 23:00:44 +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 b06078cf7d
drop setting beacon_node_network from nimbus.test.yml
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-17 16:11:43 +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 e43f66f965
make sure toledo uses correct entrypoint
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-17 13:53:21 +01:00
Jakub Sokołowski c858cdb577
configure pyrmont distribution of validators and branch layout
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-17 13:40:13 +01:00
Jakub Sokołowski 6d1915adfd
set medalla entrypoint to be nimbus_beacon_node_spec_0_12_3
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-17 13:39:32 +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 32f6f9e408
deploy 10 hosts for pyrmont testnet
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-17 13:25:39 +01:00
Jakub Sokołowski d3116a8f0b
move toledo host config to separate group_vars and playbook
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-17 13:25:38 +01:00
Jakub Sokołowski 8d4a8a6695
split Terraform resources into dedicated files
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-17 11:33:38 +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 c0766cfb72
use dedicated docker image for toledo
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-10 13:00:25 +01:00
Jakub Sokołowski aad84c1554
drop beacon_node_repo_branch, use beacon_node_cont_tag
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-10 13:00:02 +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 20bb18553a
add ssh access for giovanni
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-10 12:26:45 +01:00