Commit Graph

521 Commits

Author SHA1 Message Date
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
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 b25bd39c1a
deploy 2 hosts for toledo network running develop
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-10 11:38:45 +01:00
Jakub Sokołowski faae2a99ef
drop beacon_node_shared_testnet, use beacon_node_network
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-10 11:13:34 +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 f30a3c1314
adjust branch names and memory for master
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-07 11:47:37 +01:00
Jakub Sokołowski 09bc4a49b4
bump master host to t3a.large to accomodate builds
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-05 18:18:56 +01:00
Jakub Sokołowski 652c7129fa
deploy new layout with Madella nodes on each host
See: https://github.com/status-im/infra-nimbus/issues/23

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-05 13:51:42 +01:00
Jakub Sokołowski b7cc6697e8
switch data volumes to SSD type gp2
Test: sudo hdparm -tT /dev/nvme1n1
Before:

/dev/nvme1n1:
 Timing cached reads:   9642 MB in  2.00 seconds = 4825.42 MB/sec
 Timing buffered disk reads:  54 MB in  3.94 seconds =  13.71 MB/sec

After:

/dev/nvme1n1:
 Timing cached reads:   12028 MB in  2.00 seconds = 6020.63 MB/sec
 Timing buffered disk reads: 512 MB in  3.01 seconds = 170.08 MB/sec

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-04 12:01:25 +01:00
Jakub Sokołowski afcf7edf98
increase root volume size to 20 GB
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-02 18:47:14 +01:00
Jakub Sokołowski 73dfac49da
simplify playbook by dropping include_role
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-02 18:47:13 +01:00
Jakub Sokołowski 4cd82e895b
drop bootstrap__extra_volume_path, it clashes with new default
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-02 18:47:12 +01:00
Jakub Sokołowski c7d1db5ced
terraform.py: drop deprecated encoding argument from json.loads
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-02 15:32:57 +01:00
Jakub Sokołowski b1753837d5
fix Ansible warnings about group names and python
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-02 15:30:52 +01:00
Jakub Sokołowski 9d56aa3e84
use our own fork of Nginx role to fix permissions
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-10-07 19:50:55 +02:00
Jakub Sokołowski 985c745049
use pass provider for secrets and drop terraform.tfvars
https://registry.terraform.io/providers/camptocamp/pass

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-09-26 16:35:36 +02:00
Jakub Sokołowski 262735b0eb
lock terraform version at ~> 0.13.3
https://www.terraform.io/docs/configuration/version-constraints.html#gt--1

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-09-17 17:12:15 +02: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
Jakub Sokołowski 9ebfd5d205
upgrade to terraform 0.13
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-09-07 23:25:32 +02:00