mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-10 14:46:13 +02:00
Print out full path to archive url.
Change-Id: I6df0244d786794107c7d166c882c3585837c48a5 BUG=chromium-os:8364 TEST=Visually Review URL: http://codereview.chromium.org/6512004
This commit is contained in:
parent
ae573e7a6c
commit
89e9244910
@ -314,6 +314,13 @@ if [ $FLAGS_factory_test_mod -eq $FLAGS_TRUE ] || \
|
||||
fi
|
||||
gsutil_archive "${FLAGS_to}/LATEST" "LATEST"
|
||||
|
||||
if [ -n "${FLAGS_gsutil_archive}" ]; then
|
||||
FULL_INDEX_PATH="${FLAGS_gsutil_archive}/${LAST_CHANGE}/_index.html"
|
||||
RELATIVE_ARCHIVE_URL_PATH="${FULL_INDEX_PATH#gs://}"
|
||||
echo "CROS_ARCHIVE_URL=\
|
||||
https://sandbox.google.com/storage/${RELATIVE_ARCHIVE_URL_PATH}"
|
||||
fi
|
||||
|
||||
# Purge old builds if necessary
|
||||
if [ $FLAGS_keep_max -gt 0 ]; then
|
||||
echo "Deleting old builds (all but the newest ${FLAGS_keep_max})..."
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user