Skip to content

Commit 4c28a3c

Browse files
authored
Merge pull request #61 from gnosischain/execution_container_name
Use execution_container_name instead of client name
2 parents 0395085 + 08e4647 commit 4c28a3c

5 files changed

Lines changed: 8 additions & 7 deletions

File tree

mainnet-shadow-fork-7/inventory/group_vars/all.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ common_log_driver: json-file
141141
##############################################
142142
beacon_container_name: beacon
143143
validator_container_name: validator
144+
execution_container_name: execution
144145
hi_peer_count: 100
145146
separate_validator_process_enabled: true
146147

playbooks/stop_all.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
register: stop_result
1414
failed_when: "(stop_result.rc >= 1) and not ('No such container' in stop_result.stderr)"
1515
- name: Stop geth client container
16-
shell: "docker stop --time=10 {{eth1_client_name}}"
16+
shell: "docker stop --time=10 {{execution_container_name}}"
1717
register: stop_result
18-
failed_when: "(stop_result.rc >= 1) and not ('No such container' in stop_result.stderr)"
18+
failed_when: "(stop_result.rc >= 1) and not ('No such container' in stop_result.stderr)"

playbooks/tasks/start_execution_node.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
tasks:
66
- name: Start execution node container
77
docker_container:
8-
name: "{{ eth1_client_name }}"
8+
name: "{{ execution_container_name }}"
99
state: started
1010
image: "{{ eth1_image_name }}"
1111
pull: true

playbooks/tasks/stop_execution_node.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
serial: 20
55
tasks:
66
- name: Stop execution node container
7-
shell: "docker stop {{ eth1_client_name }}"
7+
shell: "docker stop {{ execution_container_name }}"
88
register: stop_result
99
failed_when: "(stop_result.rc >= 1) and not ('No such container' in stop_result.stderr)"

playbooks/wipe_all.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
path: "{{validator_node_dir}}"
2424
state: absent
2525
- name: Stop execution client container
26-
shell: "docker stop {{eth1_client_name}}"
26+
shell: "docker stop {{execution_container_name}}"
2727
register: stop_result
2828
failed_when: "(stop_result.rc >= 1) and not ('No such container' in stop_result.stderr)"
2929
- name: Remove execution data
@@ -34,7 +34,7 @@
3434
- name: Remove testnet dir
3535
become: true
3636
when: (testnet_type == 'custom') or
37-
(testnet_type == 'prater' and eth2_client_name == 'prysm')
37+
(testnet_type == 'prater' and eth2_client_name == 'prysm')
3838
file:
3939
path: "{{testnet_dir}}"
4040
state: absent
@@ -133,4 +133,4 @@
133133
# - name: Delete the prometheus config
134134
# file:
135135
# path: /etc/default/prometheus
136-
# state: absent
136+
# state: absent

0 commit comments

Comments
 (0)