Explicitly auto-delete additional cache disks
This property is supposedly set to 'true' by default, but we are still leaving disks behind.
Perhaps because: "...if the disk is later detached from the instance, this option won't apply."
Resolves
@@ -85,7 +85,7 @@ jobs:
run: |
gcloud compute instance-templates create-with-container "zebrad-$BRANCH_NAME-$SHORT_SHA" \
--container-image "gcr.io/$PROJECT_ID/$REPOSITORY/$BRANCH_NAME:$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 \
--container-mount-disk mount-path="/zebrad-cache",name=zebrad-cache-$SHORT_SHA \
--machine-type n2d-standard-4 \
--service-account cos-vm@zealous-zebra.iam.gserviceaccount.com \
