nimbus.prater: deploy validator client to linux-04
https://github.com/status-im/infra-nimbus/issues/122 Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
30c7f36bf4
commit
269a76a23e
|
@ -76,6 +76,26 @@ beacon_node_light_client_data_import_mode: 'full'
|
|||
beacon_node_web3_urls: ['http://localhost:{{ geth_authrpc_port }}']
|
||||
beacon_node_web3_jwt_secret: '{{ geth_authrpc_jwtsecret }}'
|
||||
|
||||
# Validator Client
|
||||
validator_client_service_name: 'validator-client-{{ validator_client_network }}-{{ validator_client_build_repo_branch }}-{{ "%02d"|format(idx|int+1) }}'
|
||||
validator_client_service_enabled: '{{ node.get("validator_client", false) }}'
|
||||
validator_client_network: '{{ beacon_node_network }}'
|
||||
validator_client_log_level: 'INFO'
|
||||
validator_client_beacon_node_url: 'http://127.0.0.1:{{ beacon_node_rest_port }}'
|
||||
# Builds
|
||||
validator_client_build_repo_branch: '{{ beacon_node_repo_branch }}'
|
||||
validator_client_build_frequency: 'daily'
|
||||
# Ports
|
||||
validator_client_metrics_port: '{{ 8108 + idx|int + 1 }}'
|
||||
validator_client_keymanager_port: '{{ 5052 + idx|int + 1 }}'
|
||||
# Keymanager
|
||||
validator_client_keymanager_enabled: true
|
||||
validator_client_keymanager_token: '{{lookup("bitwarden", "nimbus/keymanager", field="token")}}'
|
||||
# Validators Distribution
|
||||
validator_client_dist_validators_enabled: '{{ node.start is defined and node.end is defined }}'
|
||||
validator_client_dist_validators_start: '{{ (not node.get("validator_client", false)) | ternary(0, node.start) | mandatory }}'
|
||||
validator_client_dist_validators_end: '{{ (not node.get("validator_client", false)) | ternary(0, node.end) | mandatory }}'
|
||||
|
||||
# Open Ports
|
||||
open_ports_default_comment: 'Nimbus REST API'
|
||||
open_ports_default_chain: 'VPN'
|
||||
|
@ -125,7 +145,7 @@ nodes_layout:
|
|||
- { branch: 'libp2p', start: 20034, end: 20044, build_freq: '*-*-* 17:00:00' }
|
||||
|
||||
'linux-04.he-eu-hel1.nimbus.prater': # 30 each
|
||||
- { branch: 'stable', start: 20044, end: 20074, build_freq: '*-*-* 11:00:00' }
|
||||
- { branch: 'stable', start: 20044, end: 20074, build_freq: '*-*-* 11:00:00', validator_client: true }
|
||||
- { branch: 'testing', start: 20104, end: 20134, build_freq: '*-*-* 15:00:00', nim_commit: 'version-1-6' }
|
||||
- { branch: 'unstable', start: 20074, end: 20104, build_freq: '*-*-* 13:00:00', payload_builder: true }
|
||||
- { branch: 'libp2p', start: 20134, end: 20164, build_freq: '*-*-* 17:00:00', nim_flags: '-d:json_rpc_websocket_package=websock' }
|
||||
|
|
|
@ -55,6 +55,13 @@
|
|||
loop_control:
|
||||
loop_var: node
|
||||
index_var: idx
|
||||
- include_role: name=infra-role-validator-client
|
||||
tags: [ validator-client, infra-role-validator-client ]
|
||||
with_items: '{{ nodes_layout[hostname] }}'
|
||||
when: validator_client_service_enabled
|
||||
loop_control:
|
||||
loop_var: node
|
||||
index_var: idx
|
||||
|
||||
- name: Deploy prater Geth nodes for Windows
|
||||
become: true
|
||||
|
|
Loading…
Reference in New Issue