aboutsummaryrefslogtreecommitdiff
path: root/push.sh
diff options
context:
space:
mode:
Diffstat (limited to 'push.sh')
-rwxr-xr-xpush.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/push.sh b/push.sh
index 7faa2dc..1441a29 100755
--- a/push.sh
+++ b/push.sh
@@ -1,11 +1,10 @@
#!/bin/bash
-
VM_USER="${USER}"
PACKAGE_FILE="archbuilder.tar.gz"
INSTANCE_NAME="instance-1"
ZONE="us-east1-d"
-ARCH_DATE="20151023"
+ARCH_DATE="20151203"
SSH_TARGET=${VM_USER}@${INSTANCE_NAME}
rm -f ${PACKAGE_FILE}
@@ -14,4 +13,4 @@ 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://jeremyje/archlinux-images/arch-v${ARCH_DATE}.tar.gz --register" --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}