deploy prater nodes on hetzner node
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
a9dfaa12a3
commit
bdab0a2f8b
|
@ -15,27 +15,3 @@
|
|||
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 mainnet linux beacon nodes
|
||||
become: true
|
||||
hosts:
|
||||
- stable-metal-01.he-eu-hel1.nimbus.mainnet
|
||||
roles:
|
||||
- { role: get-geth-web3-urls, tags: [ get-geth-web3-urls ] }
|
||||
tasks:
|
||||
- include_role: name=infra-role-beacon-node-linux
|
||||
tags: [ infra-role-beacon-node-linux, beacon-node ]
|
||||
vars:
|
||||
beacon_node_repo_branch: '{{ node.branch }}'
|
||||
beacon_node_build_frequency: '{{ node.build_frequency }}'
|
||||
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', build_frequency: '*-*-* 12:00:00' }
|
||||
- { branch: 'unstable', build_frequency: '*-*-* 14:00:00' }
|
||||
- { branch: 'testing', build_frequency: '*-*-* 16:00:00' }
|
||||
loop_control:
|
||||
loop_var: node
|
||||
index_var: port_offset
|
||||
|
|
|
@ -33,13 +33,37 @@
|
|||
- role: infra-role-beacon-node
|
||||
tags: [ infra-role-beacon-node, beacon-node ]
|
||||
|
||||
- name: Deploy mainnet linux beacon nodes
|
||||
become: true
|
||||
hosts: nimbus-prater-metal
|
||||
roles:
|
||||
- { role: get-geth-web3-urls, tags: [ get-geth-web3-urls ] }
|
||||
tasks:
|
||||
- include_role: name=infra-role-beacon-node-linux
|
||||
tags: [ beacon-node, infra-role-beacon-node-linux ]
|
||||
vars:
|
||||
beacon_node_repo_branch: '{{ node.branch }}'
|
||||
beacon_node_build_frequency: '{{ node.build_frequency }}'
|
||||
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 }}'
|
||||
beacon_node_dist_validators_start: '{{ item.start }}'
|
||||
beacon_node_dist_validators_end: '{{ item.end }}'
|
||||
with_items:
|
||||
- { branch: 'stable', build_frequency: '*-*-* 12:00:00' }
|
||||
- { branch: 'unstable', build_frequency: '*-*-* 14:00:00' }
|
||||
- { branch: 'testing', build_frequency: '*-*-* 16:00:00' }
|
||||
loop_control:
|
||||
loop_var: node
|
||||
index_var: port_offset
|
||||
|
||||
- name: Deploy prater Windows beacon nodes
|
||||
become: true
|
||||
hosts:
|
||||
- nimbus-prater-windows
|
||||
hosts: nimbus-prater-windows
|
||||
tasks:
|
||||
- include_role: name=infra-role-beacon-node-windows
|
||||
tags: [ infra-role-beacon-node-windows, beacon-node ]
|
||||
tags: [ beacon-node, infra-role-beacon-node-windows ]
|
||||
vars:
|
||||
beacon_node_repo_branch: '{{ node.branch }}'
|
||||
beacon_node_discovery_port: '{{ 9000 + port_offset }}'
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
|
||||
- name: infra-role-beacon-node-linux
|
||||
src: git@github.com:status-im/infra-role-beacon-node-linux.git
|
||||
version: 1e640b4742222406e080a3574150fbc28767ba80
|
||||
version: 28cd9ccdd7c74f46be76249b8256ea2481ccf29d
|
||||
scm: git
|
||||
|
||||
- name: infra-role-beacon-node-windows
|
||||
|
@ -81,7 +81,7 @@
|
|||
|
||||
- name: systemd-timer
|
||||
src: git@github.com:status-im/infra-role-systemd-timer.git
|
||||
version: 5eafd38e4374f56a3439232b72ec077d569e0f5c
|
||||
version: 96176f6c871effb19ecb7f6a8eb81079d3b9efa1
|
||||
scm: git
|
||||
|
||||
- name: swap-file
|
||||
|
|
Loading…
Reference in New Issue