Skip to content

Commit

Permalink
fix: ensure 'docker info' works before preceding (#11286)
Browse files Browse the repository at this point in the history
This will ensure the docker daemon is up.
  • Loading branch information
ludamad authored Jan 17, 2025
1 parent 92e40ff commit 0b0e81a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ jobs:
- name: Test
timeout-minutes: 40
run: |
until docker info &>/dev/null; do sleep 1; done
echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u aztecprotocolci --password-stdin
export CI=1 USE_CACHE=1
artifact="e2e-${{matrix.test}}-$(./yarn-project/bootstrap.sh hash)"
Expand All @@ -254,6 +255,7 @@ jobs:
- name: Test
timeout-minutes: 40
run: |
until docker info &>/dev/null; do sleep 1; done
echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u aztecprotocolci --password-stdin
export CI=1 USE_CACHE=1
artifact="bench-${{matrix.test}}-$(./yarn-project/bootstrap.sh hash)"
Expand Down Expand Up @@ -326,6 +328,7 @@ jobs:
with:
runner_type: 16core-tester-x86
run: |
until docker info &>/dev/null; do sleep 1; done
echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u aztecprotocolci --password-stdin
export CI=1 USE_CACHE=1
if ci3/test_should_run acir-bench-$(./barretenberg/acir_tests/bootstrap.sh hash); then
Expand All @@ -347,7 +350,6 @@ jobs:
mkdir -p ~/.ssh
echo ${{ secrets.BUILD_INSTANCE_SSH_KEY }} | base64 --decode > ~/.ssh/build_instance_key
chmod 600 ~/.ssh/build_instance_key
echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u aztecprotocolci --password-stdin
- name: "Native Prover Tests"
env:
GITHUB_LOG: 1
Expand All @@ -374,6 +376,7 @@ jobs:
runner_type: 8core-tester-x86
ttl: 60
run: |
until docker info &>/dev/null; do sleep 1; done
docker pull aztecprotocol/aztec:${{ env.GIT_COMMIT }}
docker pull aztecprotocol/end-to-end:${{ env.GIT_COMMIT }}
echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u aztecprotocolci --password-stdin
Expand Down Expand Up @@ -421,6 +424,7 @@ jobs:
spot_strategy: None # use on-demand machines
ttl: ${{ matrix.config.timeout }}
run: |
until docker info &>/dev/null; do sleep 1; done
export CI=1 USE_CACHE=1
artifact="kind-network-${{matrix.config.test}}-$(./yarn-project/bootstrap.sh hash)"
if ci3/test_should_run "$artifact"; then
Expand Down

0 comments on commit 0b0e81a

Please sign in to comment.