configure pyrmont distribution of validators and branch layout
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
6d1915adfd
commit
c858cdb577
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
beacon_node_network: 'pyrmont'
|
||||
|
||||
# Distribution of validators and their keys
|
||||
dist_validators_layout:
|
||||
# master branch
|
||||
"pyrmont-01.aws-eu-central-1a.nimbus.test": { start: 0, end: 2500 }
|
||||
"pyrmont-02.aws-eu-central-1a.nimbus.test": { start: 2500, end: 5000 }
|
||||
"pyrmont-03.aws-eu-central-1a.nimbus.test": { start: 5000, end: 7500 }
|
||||
"pyrmont-04.aws-eu-central-1a.nimbus.test": { start: 7500, end: 10000 }
|
||||
# devel branch
|
||||
"pyrmont-05.aws-eu-central-1a.nimbus.test": { start: 10000, end: 12000 }
|
||||
"pyrmont-06.aws-eu-central-1a.nimbus.test": { start: 12000, end: 14000 }
|
||||
"pyrmont-07.aws-eu-central-1a.nimbus.test": { start: 14000, end: 16000 }
|
||||
"pyrmont-08.aws-eu-central-1a.nimbus.test": { start: 16000, end: 18000 }
|
||||
# libp2p branch
|
||||
"pyrmont-09.aws-eu-central-1a.nimbus.test": { start: 18000, end: 19000 }
|
||||
"pyrmont-10.aws-eu-central-1a.nimbus.test": { start: 19000, end: 20000 }
|
|
@ -0,0 +1,32 @@
|
|||
---
|
||||
- name: Pre-playbook checks
|
||||
hosts: localhost
|
||||
tasks:
|
||||
- name: 'Verify Ansible version is 2.8 or newer'
|
||||
assert:
|
||||
that: 'ansible_version.full is version_compare("2.8", ">=")'
|
||||
msg: 'Your Ansible version is lower than 2.8. Upgrade it.'
|
||||
|
||||
- name: Configure network pyrmont using master
|
||||
hosts: nimbus-slaves-pyrmont[0:3]
|
||||
vars:
|
||||
beacon_node_cont_tag: 'master'
|
||||
roles:
|
||||
- { role: distribute-validators, tags: [ distribute-validators ] }
|
||||
- { role: infra-role-beacon-node, tags: [ infra-role-beacon-node, beacon-node ] }
|
||||
|
||||
- name: Configure network pyrmont using devel
|
||||
hosts: nimbus-slaves-pyrmont[4:7]
|
||||
vars:
|
||||
beacon_node_cont_tag: 'devel'
|
||||
roles:
|
||||
- { role: distribute-validators, tags: [ distribute-validators ] }
|
||||
- { role: infra-role-beacon-node, tags: [ infra-role-beacon-node, beacon-node ] }
|
||||
|
||||
- name: Configure network pyrmont using libp2p
|
||||
hosts: nimbus-slaves-pyrmont[8:9]
|
||||
vars:
|
||||
beacon_node_cont_tag: 'libp2p'
|
||||
roles:
|
||||
- { role: distribute-validators, tags: [ distribute-validators ] }
|
||||
- { role: infra-role-beacon-node, tags: [ infra-role-beacon-node, beacon-node ] }
|
Loading…
Reference in New Issue