auto-delete manual deploy disks

If you need to keep them from being deleted, you can update them manually from the gcloud console, as the instance will not be deleted automatically.
This commit is contained in:
Deirdre Connolly 2021-03-06 01:53:13 -05:00 committed by Deirdre Connolly
parent b29294b4ee
commit 159d5a22f2
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ jobs:
gcloud compute instances create-with-container "zebrad-$BRANCH_NAME-$SHORT_SHA" \
--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 \
--create-disk name=zebrad-cache-$SHORT_SHA,auto-delete=yes,size=100GB,type=pd-balanced \
--machine-type n2-standard-4 \
--service-account cos-vm@zealous-zebra.iam.gserviceaccount.com \
--tags zebrad \