aboutsummaryrefslogtreecommitdiff
path: root/push.sh
diff options
context:
space:
mode:
authorLorenzo Castelli <lcastelli@google.com>2018-10-23 14:26:17 -0700
committerLorenzo Castelli <lcastelli@google.com>2018-10-24 11:12:35 -0700
commit3e72d05138bfed064b4100c0186c635eddddb577 (patch)
tree7bc525311a3ede73de89a4a64bfe4b67ec351c13 /push.sh
parent419bf9d7c345a2478c78a1f1b664da3fb693fb0d (diff)
downloadcompute-archlinux-image-builder-3e72d05138bfed064b4100c0186c635eddddb577.tar.xz
Brings the project up to date with a new bash implementation.
See the updated README for more information about images generated by the new script.
Diffstat (limited to 'push.sh')
-rwxr-xr-xpush.sh16
1 files changed, 0 insertions, 16 deletions
diff --git a/push.sh b/push.sh
deleted file mode 100755
index 1441a29..0000000
--- a/push.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/bash
-
-VM_USER="${USER}"
-PACKAGE_FILE="archbuilder.tar.gz"
-INSTANCE_NAME="instance-1"
-ZONE="us-east1-d"
-ARCH_DATE="20151203"
-SSH_TARGET=${VM_USER}@${INSTANCE_NAME}
-
-rm -f ${PACKAGE_FILE}
-tar czf ${PACKAGE_FILE} *
-gcloud compute ssh ${SSH_TARGET} --command "rm -fr *" --zone=${ZONE}
-gcloud compute copy-files ${PACKAGE_FILE} ${SSH_TARGET}:/home/${VM_USER} --zone=${ZONE}
-
-gcloud compute ssh ${SSH_TARGET} --command "tar xvzf ${PACKAGE_FILE}; rm ${PACKAGE_FILE}; chmod +x *.sh" --zone=${ZONE}
-gcloud compute ssh ${SSH_TARGET} --command "sudo ./build-gce-arch.py --verbose --size_gb=100 --debug --public --upload gs://gce-arch-images/unverified/arch-v${ARCH_DATE}.tar.gz --register" --zone=${ZONE}