Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1664)

Unified Diff: archive_build.sh

Issue 4128014: Update archive_build to push prebuilts to Google storage land. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/crosutils
Patch Set: update for comments Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: archive_build.sh
diff --git a/archive_build.sh b/archive_build.sh
index 785273e14b0dc103933d923b53704a10abde4297..52ac3cb33ffd265f59e833514316f90f84e371a6 100755
--- a/archive_build.sh
+++ b/archive_build.sh
@@ -265,6 +265,20 @@ then
"${LAST_CHANGE}/${HWQUAL_NAME}.tar.bz2"
fi
+# Construct prebuilt upload command.
+# This will upload prebuilt packages to Google Storage.
+prebuilt_cmd="${SCRIPTS_DIR}/prebuilt.py"
+prebuilt_cmd="$prebuilt_cmd -u gs://chromeos-prebuilt --git-sync -V master"
+prebuilt_cmd="$prebuilt_cmd -p $(readlink -f ../..) -b ${FLAGS_board}"
+
+if [ "${FLAGS_BOARD}" == "x86-generic" ]
+then
+ prebuilt_cmd="$prebuilt_cmd --sync-host"
+fi
+
+echo "Running $prebuilt_cmd"
+$prebuilt_cmd
+
gsutil_archive "${ZIPFILE}" "${LAST_CHANGE}/${FLAGS_zipname}"
if [ $FLAGS_archive_debug -eq $FLAGS_TRUE ]
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698