[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] 2 commits: reproducible Debian: fix cleanup sudo usage

Holger Levsen (@holger) gitlab at salsa.debian.org
Mon Aug 29 19:52:31 BST 2022



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


Commits:
f5cf1d03 by Holger Levsen at 2022-08-29T20:50:58+02:00
reproducible Debian: fix cleanup sudo usage

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

- - - - -
5743f064 by Holger Levsen at 2022-08-29T20:52:19+02:00
reproducible Debian: add jobs for checking the reproducibily of debootstrap'ing bullseye and bookworm

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

- - - - -


2 changed files:

- bin/reproducible_debstrap.sh
- job-cfg/reproducible.yaml


Changes:

=====================================
bin/reproducible_debstrap.sh
=====================================
@@ -17,12 +17,14 @@ cleanup() {
 	local RESULT=$1
 	output_echo "Cleanup ${RESULT}"
 	# Cleanup the workspace and results directory
-	for CLEANUP in ${BUILDDIR} ${RESULTSDIR} ; do
-		if [ ! -z "$CLEANUP" ]; then
-			output_echo "Removing ${CLEANUP}"
-			sudo rm -rf --one-file-system ${CLEANUP}
-		fi
-	done
+	if [ ! -z "$BUILDDIR" ]; then
+		output_echo "Removing ${BUILDDIR}"
+		sudo rm -rf --one-file-system ${BUILDDIR}
+	fi
+	if [ ! -z "$RESULTSDIR" ]; then
+		output_echo "Removing ${RESULTSDIR}"
+		rm -rf --one-file-system ${RESULTSDIR}
+	fi
 }
 
 


=====================================
job-cfg/reproducible.yaml
=====================================
@@ -624,6 +624,16 @@
                     my_shell: '/srv/jenkins/bin/jenkins_master_wrapper.sh debootstrap unstable'
                     my_timed: '20 7 * * *'
                     my_hname: 'osuosl173'
+                - 'debootstrap_bullseye':
+                    my_description: 'Check debootstrap of bullseye is reproducible.'
+                    my_shell: '/srv/jenkins/bin/jenkins_master_wrapper.sh debootstrap bullseye'
+                    my_timed: '30 7 * * *'
+                    my_hname: 'osuosl173'
+                - 'debootstrap_bookworm':
+                    my_description: 'Check debootstrap of bookworm is reproducible.'
+                    my_shell: '/srv/jenkins/bin/jenkins_master_wrapper.sh debootstrap bookworm'
+                    my_timed: '40 7 * * *'
+                    my_hname: 'osuosl173'
                 - 'json':
                     my_description: 'Generate https://reproducible.debian.net/userContent/reproducible.json for consumption by tracker.debian.org.'
                     my_timed: '1 H/2 * * *'



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/compare/bdd2390d72b2520f787284a1c8db77b6cdc842f7...5743f064cf2d3c7924b077971d850196726dfc55

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/compare/bdd2390d72b2520f787284a1c8db77b6cdc842f7...5743f064cf2d3c7924b077971d850196726dfc55
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/20220829/e4557171/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list