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:
parent
b29294b4ee
commit
159d5a22f2
|
@ -58,7 +58,7 @@ jobs:
|
||||||
gcloud compute instances create-with-container "zebrad-$BRANCH_NAME-$SHORT_SHA" \
|
gcloud compute instances create-with-container "zebrad-$BRANCH_NAME-$SHORT_SHA" \
|
||||||
--container-image "gcr.io/$PROJECT_ID/$REPOSITORY/$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 \
|
--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 \
|
--machine-type n2-standard-4 \
|
||||||
--service-account cos-vm@zealous-zebra.iam.gserviceaccount.com \
|
--service-account cos-vm@zealous-zebra.iam.gserviceaccount.com \
|
||||||
--tags zebrad \
|
--tags zebrad \
|
||||||
|
|
Loading…
Reference in New Issue