Skip to content

Commit

Permalink
fix(ci): remove warnings caused by missing actions/checkout step (#…
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
gustavovalverde authored Jan 10, 2023
1 parent 99cbffb commit fb3cc7b
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/continous-delivery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@ jobs:
if: ${{ !cancelled() && !failure() && ((github.event_name == 'push' && github.ref_name == 'main') || github.event_name == 'release') }}

steps:
- uses: actions/[email protected]
with:
persist-credentials: false

- name: Inject slug/short variables
uses: rlespinasse/github-slug-action@v4
with:
Expand Down Expand Up @@ -189,6 +193,10 @@ jobs:
if: github.event_name == 'workflow_dispatch'

steps:
- uses: actions/[email protected]
with:
persist-credentials: false

- name: Inject slug/short variables
uses: rlespinasse/github-slug-action@v4
with:
Expand Down Expand Up @@ -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 }} \
Expand Down

0 comments on commit fb3cc7b

Please sign in to comment.