Bug 1384744 - Allow toolchain tasks not to have a tooltool manifest at all. r?gps draft
authorMike Hommey <mh+mozilla@glandium.org>
Thu, 27 Jul 2017 07:56:14 +0900
changeset 616406 c8389e47393ad77dad4504fa99d9e50ddfae0d6f
parent 616405 61cc8c74713ba5a9d8a2a81c2e1ce16a7141925f
child 616407 77a23b56bf4ff540c4624f5d5674fbf110794dc8
push id70668
push userbmo:mh+mozilla@glandium.org
push dateThu, 27 Jul 2017 00:37:52 +0000
reviewersgps
bugs1384744, 1382564
milestone56.0a1
Bug 1384744 - Allow toolchain tasks not to have a tooltool manifest at all. r?gps With the support added in bug 1382564, toolchains can be downloaded without a tooltool manifest at all, and it's desirable to get rid of tooltool manifests on jobs that don't need one.
taskcluster/scripts/misc/tooltool-download.sh
--- a/taskcluster/scripts/misc/tooltool-download.sh
+++ b/taskcluster/scripts/misc/tooltool-download.sh
@@ -25,11 +25,11 @@ fi
 
 if [ -n "$UPLOAD_DIR" ]; then
     TOOLTOOL_DL_FLAGS="${TOOLTOOL_DL_FLAGS=} --artifact-manifest $UPLOAD_DIR/toolchains.json"
 fi
 
 : TOOLTOOL_CACHE                ${TOOLTOOL_CACHE:=/home/worker/tooltool-cache}
 export TOOLTOOL_CACHE
 
-./mach artifact toolchain -v${TOOLTOOL_DL_FLAGS} --tooltool-manifest "${TOOLTOOL_MANIFEST}"${TOOLTOOL_CACHE:+ --cache-dir ${TOOLTOOL_CACHE}} --retry 5${MOZ_TOOLCHAINS:+ ${MOZ_TOOLCHAINS}}
+./mach artifact toolchain -v${TOOLTOOL_DL_FLAGS}${TOOLTOOL_MANIFEST:+ --tooltool-manifest "${TOOLTOOL_MANIFEST}"}${TOOLTOOL_CACHE:+ --cache-dir ${TOOLTOOL_CACHE}} --retry 5${MOZ_TOOLCHAINS:+ ${MOZ_TOOLCHAINS}}
 
 cd $OLDPWD