From 0b0e81a2255669c52a474e9ec0471dcc7d3e6fbb Mon Sep 17 00:00:00 2001 From: ludamad Date: Fri, 17 Jan 2025 13:05:35 +0100 Subject: [PATCH] fix: ensure 'docker info' works before preceding (#11286) This will ensure the docker daemon is up. --- .github/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0f43050e5d2..4726415358b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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)" @@ -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)" @@ -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 @@ -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 @@ -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 @@ -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