[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible_debian_live_build: Publish the last reproducible ISO image

Holger Levsen (@holger) gitlab at salsa.debian.org
Mon Apr 25 16:08:30 BST 2022



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


Commits:
caed5e8c by Roland Clobus at 2022-04-25T17:08:20+02:00
reproducible_debian_live_build: Publish the last reproducible ISO image

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

- - - - -


1 changed file:

- bin/reproducible_debian_live_build.sh


Changes:

=====================================
bin/reproducible_debian_live_build.sh
=====================================
@@ -30,13 +30,16 @@ output_echo() {
 cleanup() {
 	output_echo "Publishing results."
 
-	# Do not publish the ISO images as artifact, they would be able to consume too much disk space
-	if [ ! -z "${RESULTSDIR}" ]; then
-		rm -rf ${RESULTSDIR}/b1
-		rm -rf ${RESULTSDIR}/b2
-	fi
-
 	if [ "$1" == "success" ]; then
+		# Publish the ISO image and its summary
+		export PAGE=last-reproducible-image.txt
+		cp -a ${RESULTSDIR}/summary_build1.txt ${PAGE}
+		publish_page debian_live_build
+
+		export PAGE=last-reproducible-image.iso
+		cp -a ${RESULTSDIR}/b1/${PROJECTNAME}/${CONFIGURATION}/live-image-amd64.hybrid.iso ${PAGE}
+		publish_page debian_live_build
+
 		export PAGE=${CONFIGURATION}-${DEBIAN_VERSION}.txt
 		mv ${RESULTSDIR}/summary_build1.txt ${PAGE}
 		rm ${RESULTSDIR}/summary_build2.txt
@@ -53,6 +56,10 @@ cleanup() {
 			output_echo "Error: Something went wrong."
 		fi
 		if [ ! -z "${RESULTSDIR}" ]; then
+			# Do not publish the ISO images as artifact, they would be able to consume too much disk space
+			rm -rf ${RESULTSDIR}/b1
+			rm -rf ${RESULTSDIR}/b2
+
 			TMPDIR=${RESULTSDIR}
 			save_artifacts debian_live_build ${CONFIGURATION}-${DEBIAN_VERSION} https://wiki.debian.org/ReproducibleInstalls/LiveImages
 		fi



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/caed5e8c91dbed9a57ae1408e628747edbf8f97e
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/20220425/2c30fe00/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list