Skip to content

Commit

Permalink
fix: all targets build (#479)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrekucci authored Nov 9, 2024
1 parent 281fc65 commit df77342
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/infrastructure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ jobs:
echo "Unable to connect to target machine: ${STDOUT}"
exit 1
fi
if [ "${IS_MANUAL_DEPLOYMENT}" == "false" ] || [ "${{ github.event.inputs.all_targets }}" == "false" ]; then
STDOUT="$(echo "${STDOUT}" | awk -F 'stdout\\) ' '{print $2}')"
OS="$(echo "${STDOUT}" | awk '{print $1}' | tr '[:upper:]' '[:lower:]')"
Expand Down
18 changes: 1 addition & 17 deletions infrastructure/nomad/playbooks/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@
register: keystore_generator
when: build_artifacts

- name: Build Artifacts Async
- name: Build Artifacts
ansible.builtin.shell: |
SECRETS="{{ dist_dir }}/{{ item.name }}_secrets.json"
SIGNERS="{{ dist_dir }}/signers.txt"
Expand Down Expand Up @@ -413,27 +413,11 @@
loop: "{{ jobs }}"
loop_control:
label: "{{ item.name }}"
async: 600
poll: 0
delegate_to: localhost
run_once: true
register: build_artifacts_async
when: build_artifacts

- name: Wait for Build Artifacts Async to Complete
ansible.builtin.async_status:
jid: "{{ item.ansible_job_id }}"
register: build_artifacts_async_result
until: build_artifacts_async_result.finished
retries: 200
delay: 3
loop: "{{ build_artifacts_async.results }}"
loop_control:
label: "{{ item.item.name }}"
delegate_to: localhost
run_once: true
when: build_artifacts

- name: Assemble config.toml for Geth Static Nodes
ansible.builtin.shell: |
STATIC_NODES="{{ dist_dir }}/geth_static_nodes.json"
Expand Down

0 comments on commit df77342

Please sign in to comment.