deploy 3 beacon nodes on all Pyrmont metal hosts

https://github.com/status-im/infra-nimbus/issues/59

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2021-07-15 20:15:58 +02:00
parent df96f214cd
commit 87d23f8fa1
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
2 changed files with 32 additions and 6 deletions

View File

@ -24,7 +24,33 @@
become: true
# To avoid clashing/duplicate validators.
any_errors_fatal: true
hosts: 'nimbus.pyrmont'
hosts:
- nimbus-pyrmont-stable
- nimbus-pyrmont-testing
- nimbus-pyrmont-unstable
- nimbus-pyrmont-libp2p
roles:
- { role: get-geth-web3-urls, tags: [ get-geth-web3-urls ] }
- { role: infra-role-beacon-node, tags: [ infra-role-beacon-node, beacon-node ] }
- name: Deploy pyrmont Metal beacon nodes
become: true
hosts:
- nimbus-pyrmont-metal
tasks:
- include_role: name=infra-role-beacon-node-linux
tags: [ beacon-node, infra-role-beacon-node-linux ]
vars:
beacon_node_dist_validators_enabled: false
beacon_node_repo_branch: '{{ node.branch }}'
beacon_node_discovery_port: '{{ 9000 + port_offset }}'
beacon_node_listening_port: '{{ 9000 + port_offset }}'
beacon_node_metrics_port: '{{ 9200 + port_offset }}'
beacon_node_rpc_port: '{{ 9900 + port_offset }}'
with_items:
- { branch: 'stable' }
- { branch: 'unstable' }
- { branch: 'testing' }
loop_control:
loop_var: node
index_var: port_offset

View File

@ -16,7 +16,7 @@
- name: infra-role-bootstrap
src: git@github.com:status-im/infra-role-bootstrap.git
version: c1f535e4b2851f08b1013bd57ab42d0c1e31e3b2
version: a72d839866700f543c3634a6a82bf0ac0fc44c0c
scm: git
- name: infra-role-bootstrap-windows
@ -41,22 +41,22 @@
- name: infra-role-beacon-node-linux
src: git@github.com:status-im/infra-role-beacon-node-linux.git
version: 083a675b0f58fc8cd99dd4a7eca8d346349d4c78
version: 09d0176c12a509f24a8537c7902b750c05efb755
scm: git
- name: infra-role-beacon-node-windows
src: git@github.com:status-im/infra-role-beacon-node-windows.git
version: a58849012bbaa91dace50533ba234fa1bb6a87a9
version: cc3ad53c33bdfc26412c012c8926da38f68a4676
scm: git
- name: infra-role-dist-validators
src: git@github.com:status-im/infra-role-dist-validators.git
version: 871b8e99737174aaea0bb0073e174b8c68482e2e
version: 18b11237665db03b9f7ff9e0a6ec59afb95bc51f
scm: git
- name: infra-role-winsw
src: git@github.com:status-im/infra-role-winsw.git
version: 97275ab7be23bd4041f110ffbd60c509d5e819f3
version: e41415ba8bd63438e1f988421ef52e1078a310dd
scm: git
- name: kibana