mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-28 17:11:34 +02:00
Update archive_build to push prebuilts to Google storage land.
Enabled host prebuilt upload on the x86-generic target. BUG=NA TEST=Tested on an x86-generic build to ensure it uploads as expected Review URL: http://codereview.chromium.org/4128014
This commit is contained in:
parent
42df54df1c
commit
695adf144a
@ -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 ]
|
||||
|
Loading…
x
Reference in New Issue
Block a user