From fb3cc7b74c4951fd0e9db29078be5258ac8d9a76 Mon Sep 17 00:00:00 2001 From: Gustavo Valverde Date: Tue, 10 Jan 2023 06:11:11 -0400 Subject: [PATCH] fix(ci): remove warnings caused by missing `actions/checkout` step (#5874) * fix(ci): remove warnings caused by missing `actions/checkout` * fix: typo in arguments * fix: add the whole disk name as this is a single instance * fix: add dis name to mount --- .github/workflows/continous-delivery.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continous-delivery.yml b/.github/workflows/continous-delivery.yml index 04828142ed9..1adb5297d70 100644 --- a/.github/workflows/continous-delivery.yml +++ b/.github/workflows/continous-delivery.yml @@ -99,6 +99,10 @@ jobs: if: ${{ !cancelled() && !failure() && ((github.event_name == 'push' && github.ref_name == 'main') || github.event_name == 'release') }} steps: + - uses: actions/checkout@v3.2.0 + with: + persist-credentials: false + - name: Inject slug/short variables uses: rlespinasse/github-slug-action@v4 with: @@ -189,6 +193,10 @@ jobs: if: github.event_name == 'workflow_dispatch' steps: + - uses: actions/checkout@v3.2.0 + with: + persist-credentials: false + - name: Inject slug/short variables uses: rlespinasse/github-slug-action@v4 with: @@ -217,8 +225,9 @@ jobs: --container-stdin \ --container-tty \ --container-image ${{ env.GAR_BASE }}/zebrad@${{ needs.build.outputs.image_digest }} \ - --create-disk=name=auto-delete=yes,size=300GB,type=pd-ssd \ - --container-mount-disk=mount-path='/zebrad-cache' \ + --create-disk=auto-delete=yes,size=300GB,type=pd-ssd \ + --create-disk=name=zebrad-cache-${{ env.GITHUB_SHA_SHORT }},auto-delete=yes,size=300GB,type=pd-ssd \ + --container-mount-disk=mount-path='/zebrad-cache',name=zebrad-cache-${{ env.GITHUB_SHA_SHORT }} \ --machine-type ${{ env.MACHINE_TYPE }} \ --zone ${{ env.ZONE }} \ --labels=app=zebrad,environment=qa,network=${NETWORK},github_ref=${{ env.GITHUB_REF_SLUG_URL }} \