From 77123e9a2ca8ce0116496eb4ff522967ad0a8240 Mon Sep 17 00:00:00 2001 From: Brandon Philips Date: Fri, 2 Aug 2013 11:33:02 -0700 Subject: [PATCH] feat(core_upload_update): copy stuff to channel URL on upload copy stuff to channel URL. TODO: add channel stuff to the index --- core_upload_update | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core_upload_update b/core_upload_update index 62bfd9412f..9310fe0e03 100755 --- a/core_upload_update +++ b/core_upload_update @@ -74,3 +74,8 @@ core-admin new-version \ -v ${FLAGS_version} \ -m "${OUTPUT_DIR}/update.metadata" \ -t ${FLAGS_track} -p $MD5SUM "${OUTPUT_DIR}/update.gz" + +# Copy the vagrant boxes and pre-built images over to the track mirror +gsutil cp \ + "gs://storage.core-os.net/coreos/amd64-generic/${FLAGS_version}/*" \ + "gs://storage.core-os.net/coreos/amd64-generic/${FLAGS_track}/"