diff options
| author | Shulhan <ms@kilabit.info> | 2025-12-25 19:39:54 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2025-12-26 13:57:05 +0700 |
| commit | 058f6729af0dc2f9a367a268e2d387a9f922406e (patch) | |
| tree | 51d590399cd2439208300a68e8311bc37c497f31 /gcloud-image-cleanup.aww | |
| parent | fca620c1e13bae91b4a3167a10d660f3d72e7aeb (diff) | |
| download | compute-archlinux-image-builder-058f6729af0dc2f9a367a268e2d387a9f922406e.tar.xz | |
all: create the images under project name kilabit
We are currently cleaning up my GCP account, so we unify some projects
into one.
The arch-builder now moved under kilabit project.
Diffstat (limited to 'gcloud-image-cleanup.aww')
| -rw-r--r-- | gcloud-image-cleanup.aww | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcloud-image-cleanup.aww b/gcloud-image-cleanup.aww index 49411e6..726ba82 100644 --- a/gcloud-image-cleanup.aww +++ b/gcloud-image-cleanup.aww @@ -1,9 +1,10 @@ ## Script to remove all except the last five images. -#require: gcloud config configurations activate {{.Val "gcloud::config"}} +#require: gcloud config configurations activate {{.Val "gcloud:arch-builder:config"}} gcloud compute images list \ --no-standard-images \ + --format=json \ > current-images.txt cat current-images.txt @@ -16,6 +17,7 @@ gcloud compute images list \ gcloud compute images list \ --no-standard-images \ + --format=json \ > current-images.txt cat current-images.txt |
