diff --git a/.github/workflows/infrastructure.yml b/.github/workflows/infrastructure.yml index 22f8a3ad6..b56356e9c 100644 --- a/.github/workflows/infrastructure.yml +++ b/.github/workflows/infrastructure.yml @@ -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:]')" diff --git a/infrastructure/nomad/playbooks/deploy.yml b/infrastructure/nomad/playbooks/deploy.yml index 0f8a227e8..518f2b876 100644 --- a/infrastructure/nomad/playbooks/deploy.yml +++ b/infrastructure/nomad/playbooks/deploy.yml @@ -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" @@ -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"