mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 14:41:31 +02:00
Use gsutil to archive debug.tgz too
BUG=4263 Review URL: http://codereview.chromium.org/2866036
This commit is contained in:
parent
70dc38b4c8
commit
25d48c4dcd
@ -217,6 +217,8 @@ then
|
|||||||
"${LAST_CHANGE}/${HWQUAL_NAME}.tar.bz2"
|
"${LAST_CHANGE}/${HWQUAL_NAME}.tar.bz2"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
gsutil_archive "${ZIPFILE}" "${LAST_CHANGE}/${FLAGS_zipname}"
|
||||||
|
|
||||||
if [ $FLAGS_archive_debug -eq $FLAGS_TRUE ]
|
if [ $FLAGS_archive_debug -eq $FLAGS_TRUE ]
|
||||||
then
|
then
|
||||||
echo "Creating debug archive"
|
echo "Creating debug archive"
|
||||||
@ -226,9 +228,9 @@ then
|
|||||||
CMD="chown \${SUDO_UID}:\${SUDO_GID} ${OUTDIR}/debug.tgz"
|
CMD="chown \${SUDO_UID}:\${SUDO_GID} ${OUTDIR}/debug.tgz"
|
||||||
sudo sh -c "${CMD}"
|
sudo sh -c "${CMD}"
|
||||||
popd
|
popd
|
||||||
|
gsutil_archive "${OUTDIR}/debug.tgz" "${LAST_CHANGE}/debug.tgz"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
gsutil_archive "${ZIPFILE}" "${LAST_CHANGE}/${FLAGS_zipname}"
|
|
||||||
if [ $FLAGS_factory_test_mod -eq $FLAGS_TRUE ] || \
|
if [ $FLAGS_factory_test_mod -eq $FLAGS_TRUE ] || \
|
||||||
[ $FLAGS_factory_install_mod -eq $FLAGS_TRUE ]
|
[ $FLAGS_factory_install_mod -eq $FLAGS_TRUE ]
|
||||||
then
|
then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user