Skip to content

Commit

Permalink
Add image-family and image-project base image qualifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
dconnolly committed Dec 15, 2020
1 parent d923aed commit e72b26b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ jobs:
--container-image "gcr.io/$PROJECT_ID/$REPOSITORY/$BRANCH_NAME:$SHORT_SHA" \
--create-disk name=zebrad-cache-$SHORT_SHA,size=100GB,type=pd-balanced \
--container-mount-disk mount-path="/zebrad-cache",name=zebrad-cache-$SHORT_SHA \
--image-family cos-stable \
--image-project cos-cloud \
--machine-type n2d-standard-4 \
--metadata=google-monitoring-enabled=true \
--service-account cos-vm@zealous-zebra.iam.gserviceaccount.com \
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/manual-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ jobs:
--container-image "gcr.io/$PROJECT_ID/$REPOSITORY/$BRANCH_NAME:$SHORT_SHA" \
--container-mount-disk mount-path='/zebrad-cache',name=zebrad-cache-$SHORT_SHA \
--create-disk name=zebrad-cache-$SHORT_SHA,size=100GB,type=pd-balanced \
--image-family cos-stable \
--image-project cos-cloud \
--machine-type n2-standard-4 \
--metadata=google-monitoring-enabled=true \
--service-account cos-vm@zealous-zebra.iam.gserviceaccount.com \
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ jobs:
--container-restart-policy never \
--create-disk name="zebrad-cache-$SHORT_SHA-mainnet-419200",image=zebrad-cache-062a5ae-mainnet-419200 \
--create-disk name="zebrad-cache-$SHORT_SHA-testnet-280000",image=zebrad-cache-2935b4e-testnet-280000 \
--image-family cos-stable \
--image-project cos-cloud \
--machine-type n2-standard-4 \
--metadata=google-monitoring-enabled=true \
--service-account cos-vm@zealous-zebra.iam.gserviceaccount.com \
Expand Down

0 comments on commit e72b26b

Please sign in to comment.