aboutsummaryrefslogtreecommitdiff
path: root/gcloud-test-tail.aww
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2022-06-30 01:44:12 +0700
committerShulhan <ms@kilabit.info>2022-08-05 00:02:10 +0700
commitcb31f4f3fd1a24b8268cca34f9bfefaf3b747a5d (patch)
treed4a2081f011c037bcc58a87aae9fd8a8c873034b /gcloud-test-tail.aww
parent015e2edf17ef7bdb7fd05a9f848c4747a62e7a6f (diff)
downloadcompute-archlinux-image-builder-cb31f4f3fd1a24b8268cca34f9bfefaf3b747a5d.tar.xz
all: add awwan scripts to deploy and test image
The gcloud-image-publish.aww is the script to publish the recently build image to gcloud and create new image. The gcloud-image-test.aww is the script to test the new image by creating new compute engine. The gcloud-test-image-official.aww is the script to test the official public image from Google. The gcloud-test-tail.aww is the script to get the serial log from test image in compute engine.
Diffstat (limited to 'gcloud-test-tail.aww')
-rw-r--r--gcloud-test-tail.aww4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcloud-test-tail.aww b/gcloud-test-tail.aww
new file mode 100644
index 0000000..c7dd93f
--- /dev/null
+++ b/gcloud-test-tail.aww
@@ -0,0 +1,4 @@
+#require: gcloud config configurations activate {{.Val "gcloud::config"}}
+
+gcloud compute instances get-serial-port-output {{.Val "host::name"}} \
+ --zone={{.Val "gcloud::zone"}}