Bug 1548701 - Do no silence curl in `get_and_diffoscope`. r=tomprince
authorMike Hommey <mh+mozilla@glandium.org>
Fri, 10 May 2019 21:32:23 +0000
changeset 532552 82c168608de778da5ab22efe0d884b2b283c0edd
parent 532551 b90c24bb6358c8ad4b0b56cd312457e0548c26f3
child 532553 23396874909ff1d79eb198fa300c81bd66aafa2b
push id11270
push userrgurzau@mozilla.com
push dateWed, 15 May 2019 15:07:19 +0000
treeherdermozilla-beta@571bc76da583 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstomprince
bugs1548701
milestone68.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1548701 - Do no silence curl in `get_and_diffoscope`. r=tomprince Differential Revision: https://phabricator.services.mozilla.com/D30137
taskcluster/docker/diffoscope/get_and_diffoscope
--- a/taskcluster/docker/diffoscope/get_and_diffoscope
+++ b/taskcluster/docker/diffoscope/get_and_diffoscope
@@ -15,37 +15,37 @@ mkdir a b
 if [ "$TASKCLUSTER_ROOT_URL" = "https://taskcluster.net" ]; then
     queue_base='https://queue.taskcluster.net/v1'
 else
     queue_base="$TASKCLUSTER_ROOT_URL/api/queue/v1"
 fi
 
 case "$ORIG_URL" in
 */target.zip|*/target.apk)
-	curl -sL "$ORIG_URL" > a.zip
-	curl -sL "$NEW_URL" > b.zip
+	curl -L "$ORIG_URL" > a.zip
+	curl -L "$NEW_URL" > b.zip
 	unzip -d a a.zip
 	unzip -d b b.zip
 	;;
 */target.tar.bz2)
-	curl -sL "$ORIG_URL" | tar -C a -jxf -
-	curl -sL "$NEW_URL" | tar -C b -jxf -
+	curl -L "$ORIG_URL" | tar -C a -jxf -
+	curl -L "$NEW_URL" | tar -C b -jxf -
 	;;
 */target.dmg)
 	# We don't have mach available to call mach artifact toolchain.
 	# This is the trivial equivalent for those toolchains we use here.
 	for t in $MOZ_TOOLCHAINS; do
-		curl -sL $queue_base/task/${t#*@}/artifacts/${t%@*} | tar -Jxf -
+		curl -L $queue_base/task/${t#*@}/artifacts/${t%@*} | tar -Jxf -
 	done
 	for tool in lipo otool; do
 		ln -s /builds/worker/cctools/bin/x86_64-darwin*-$tool bin/$tool
 	done
 	export PATH=$PATH:/builds/worker/bin
-	curl -sL "$ORIG_URL" > a.dmg
-	curl -sL "$NEW_URL" > b.dmg
+	curl -L "$ORIG_URL" > a.dmg
+	curl -L "$NEW_URL" > b.dmg
 	for i in a b; do
 		dmg/dmg extract $i.dmg $i.hfs
 		dmg/hfsplus $i.hfs extractall / $i
 	done
 	;;
 esac
 
 case "$ORIG_URL" in