Skip to content

Commit

Permalink
fix: all targets build
Browse files Browse the repository at this point in the history
  • Loading branch information
mrekucci committed Nov 8, 2024
1 parent 5ed4429 commit 2507c89
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 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
30 changes: 15 additions & 15 deletions infrastructure/nomad/playbooks/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -413,26 +413,26 @@
loop: "{{ jobs }}"
loop_control:
label: "{{ item.name }}"
async: 600
poll: 0
# 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: 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: |
Expand Down

0 comments on commit 2507c89

Please sign in to comment.