move deployment of beacon-node-builds to the bottom

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2021-09-21 20:46:38 +02:00
parent 813c40adec
commit e2eb049cbb
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
2 changed files with 13 additions and 15 deletions

View File

@ -9,16 +9,6 @@
- local_action: command ./versioncheck.py
changed_when: false
- name: Deploy beacon node build nodes
become: true
hosts:
- testing-large-01.aws-eu-central-1a.nimbus.prater
roles:
- role: swap-file
tags: swap-file
- role: beacon-node-builds
tags: beacon-node-builds
- name: Deploy prater Linux beacon nodes
become: true
# To avoid clashing/duplicate validators.
@ -47,8 +37,7 @@
# TEMPORARY switch for Prater Altair transition
beacon_node_service_name: 'beacon-node-{{ beacon_node_network }}-{{ node.branch }}'
beacon_node_repo_branch: "unstable"
beacon_node_threads: |-
{{ (node.branch == 'testing') | ternary(4, 1) }}
beacon_node_threads: '{{ (node.branch == "testing") | ternary(4, 1) }}'
beacon_node_build_frequency: '{{ node.build_frequency }}'
beacon_node_discovery_port: '{{ 9000 + port_offset }}'
beacon_node_listening_port: '{{ 9000 + port_offset }}'
@ -93,3 +82,13 @@
loop_control:
loop_var: node
index_var: port_offset
- name: Deploy beacon node build nodes
become: true
hosts:
- testing-large-01.aws-eu-central-1a.nimbus.prater
roles:
- role: swap-file
tags: swap-file
- role: beacon-node-builds
tags: beacon-node-builds

View File

@ -25,9 +25,8 @@
beacon_node_service_name: 'beacon-node-{{ beacon_node_network }}-{{ node.name }}'
beacon_node_build_frequency: '{{ node.build_frequency }}'
# TEMPORARY switch for Prater Altair transition
beacon_node_repo_branch: "unstable"
beacon_node_threads: |-
{{ (node.branch == 'testing') | ternary(4, 1) }}
beacon_node_repo_branch: 'unstable'
beacon_node_threads: '{{ (node.branch == "testing") | ternary(4, 1) }}'
beacon_node_discovery_port: '{{ 9000 + port_offset }}'
beacon_node_listening_port: '{{ 9000 + port_offset }}'
beacon_node_metrics_port: '{{ 9200 + port_offset }}'