[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Arch Linux: add debug output

Holger Levsen gitlab at salsa.debian.org
Sat Jan 12 20:05:57 GMT 2019


Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
b24eb8f5 by Holger Levsen at 2019-01-12T20:05:50Z
reproducible Arch Linux: add debug output

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- bin/reproducible_setup_archlinux_schroot.sh


Changes:

=====================================
bin/reproducible_setup_archlinux_schroot.sh
=====================================
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-# Copyright 2015-2018 Holger Levsen <holger at layer-acht.org>
+# Copyright 2015-2019 Holger Levsen <holger at layer-acht.org>
 #                2017 kpcyrd <git at rxv.cc>
 #                2017 Mattia Rizzolo <mattia at debian.org>
 #                Juliana Oliveira Rodrigues <juliana.orod at gmail.com>
@@ -29,7 +29,7 @@ bootstrap() {
 	echo "$(date -u) - downloading Arch Linux latest/sha1sums.txt"
 	BOOTSTRAP_DATE=$(curl -sSf $BOOTSTRAP_BASE/latest/sha1sums.txt | grep x86_64.tar.gz | cut -d " " -f3 | cut -d "-" -f3 | egrep -o '[0-9.]{10}')
 	if [ -z $BOOTSTRAP_DATE ] ; then
-		echo "Cannot determine version of boostrap file, aborting."
+		echo "Cannot determine version of bootstrap file, aborting."
 		curl -sSf "$BOOTSTRAP_BASE/latest/sha1sums.txt" | grep x86_64.tar.gz
 		exit 1
 	fi
@@ -47,6 +47,10 @@ bootstrap() {
 		sudo rm -rf --one-file-system "$SCHROOT_BASE/$TARGET.old"
 
 		rm archlinux-bootstrap-$BOOTSTRAP_DATE-x86_64.tar.gz
+	else
+		echo 'debug output:'
+		pwd
+		ls "archlinux-bootstrap-$BOOTSTRAP_DATE-x86_64.tar.gz"
 	fi
 
 	# write the schroot config



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/b24eb8f5bfcf6bc750d21bc210fe4d089cb39998

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/b24eb8f5bfcf6bc750d21bc210fe4d089cb39998
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20190112/1f92338e/attachment-0001.html>


More information about the Qa-jenkins-scm mailing list