[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible alpine: add maintenance script

Holger Levsen gitlab at salsa.debian.org
Wed Jun 5 17:54:35 BST 2019



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


Commits:
439af034 by kpcyrd at 2019-06-05T16:53:07Z
reproducible alpine: add maintenance script

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

- - - - -


1 changed file:

- bin/reproducible_maintenance.sh


Changes:

=====================================
bin/reproducible_maintenance.sh
=====================================
@@ -311,6 +311,24 @@ for s in $SUITES ; do
 done
 set -e
 
+# for alpine
+set +e
+case $HOSTNAME in
+	osuosl-build169*|osuosl-build170*|jenkins)
+		echo "$(date -u) - updating alpine schroot now."
+		schroot --directory /tmp -c source:jenkins-reproducible-alpine -u root -- apk update
+		RESULT=$?
+		if [ $RESULT -eq 1 ] ; then
+			echo "Warning: failed to update alpine schroot."
+			DIRTY=true
+		else
+			echo "$(date -u) - updating alpine schroot done."
+		fi
+		;;
+	*)	;;
+esac
+set -e
+
 # for Arch Linux
 set +e
 case $HOSTNAME in



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/439af03451b6d74d86b4ca14afe3929f8557ba5f
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/20190605/b8923b98/attachment-0001.html>


More information about the Qa-jenkins-scm mailing list