[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] 2 commits: reproducible_debian_live_build: Fixed undefined variable

Holger Levsen (@holger) gitlab at salsa.debian.org
Thu Sep 22 20:45:05 BST 2022



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


Commits:
611b4e51 by Roland Clobus at 2022-09-22T21:22:52+02:00
reproducible_debian_live_build: Fixed undefined variable

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

- - - - -
faee29dc by Roland Clobus at 2022-09-22T21:23:04+02:00
reproducible_debian_live_build: Link to the tests on openQA

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
=====================================
@@ -80,16 +80,19 @@ publish_results() {
 		case ${DESKTOP} in
 		"smallest-build")
 			# No DESKTOP=xxx setting, LIVE_INSTALLER=no
-			$OPEN_QA_CLI api -X POST isos ISO=${DESKTOP}_${SUITE}_${TIMESTAMP}.iso DISTRI=debian VERSION=${SUITE}_${DESKTOP} FLAVOR=live-build ARCH=x86_64 BUILD=:${SNAPSHOT_TIMESTAMP}_${SUITE}_${DESKTOP} CHECKSUM=${CHECKSUM} TIMESTAMP=${SNAPSHOT_TIMESTAMP} ISO_URL=https://tests.reproducible-builds.org/debian_live_build/artifacts/r00t-me/${ISONAME} --odn --apikey ${OPENQA_APIKEY} --apisecret ${OPENQA_APISECRET} LIVE_INSTALLER=no
+			$OPEN_QA_CLI api -X POST isos ISO=${DESKTOP}_${SUITE}_${SNAPSHOT_TIMESTAMP}.iso DISTRI=debian VERSION=${SUITE}_${DESKTOP} FLAVOR=live-build ARCH=x86_64 BUILD=:${SNAPSHOT_TIMESTAMP}_${SUITE}_${DESKTOP} CHECKSUM=${CHECKSUM} TIMESTAMP=${SNAPSHOT_TIMESTAMP} ISO_URL=https://tests.reproducible-builds.org/debian_live_build/artifacts/r00t-me/${ISONAME} --odn --apikey ${OPENQA_APIKEY} --apisecret ${OPENQA_APISECRET} LIVE_INSTALLER=no | tee out.json
 			;;
 		"standard")
 			# No DESKTOP=xxx setting
-			$OPEN_QA_CLI api -X POST isos ISO=${DESKTOP}_${SUITE}_${TIMESTAMP}.iso DISTRI=debian VERSION=${SUITE}_${DESKTOP} FLAVOR=live-build ARCH=x86_64 BUILD=:${SNAPSHOT_TIMESTAMP}_${SUITE}_${DESKTOP} CHECKSUM=${CHECKSUM} TIMESTAMP=${SNAPSHOT_TIMESTAMP} ISO_URL=https://tests.reproducible-builds.org/debian_live_build/artifacts/r00t-me/${ISONAME} --odn --apikey ${OPENQA_APIKEY} --apisecret ${OPENQA_APISECRET}
+			$OPEN_QA_CLI api -X POST isos ISO=${DESKTOP}_${SUITE}_${SNAPSHOT_TIMESTAMP}.iso DISTRI=debian VERSION=${SUITE}_${DESKTOP} FLAVOR=live-build ARCH=x86_64 BUILD=:${SNAPSHOT_TIMESTAMP}_${SUITE}_${DESKTOP} CHECKSUM=${CHECKSUM} TIMESTAMP=${SNAPSHOT_TIMESTAMP} ISO_URL=https://tests.reproducible-builds.org/debian_live_build/artifacts/r00t-me/${ISONAME} --odn --apikey ${OPENQA_APIKEY} --apisecret ${OPENQA_APISECRET} | tee out.json
 			;;
 		*)
-			$OPEN_QA_CLI api -X POST isos ISO=${DESKTOP}_${SUITE}_${TIMESTAMP}.iso DISTRI=debian VERSION=${SUITE}_${DESKTOP} FLAVOR=live-build ARCH=x86_64 BUILD=:${SNAPSHOT_TIMESTAMP}_${SUITE}_${DESKTOP} CHECKSUM=${CHECKSUM} TIMESTAMP=${SNAPSHOT_TIMESTAMP} ISO_URL=https://tests.reproducible-builds.org/debian_live_build/artifacts/r00t-me/${ISONAME} --odn --apikey ${OPENQA_APIKEY} --apisecret ${OPENQA_APISECRET} DESKTOP=${DESKTOP}
+			$OPEN_QA_CLI api -X POST isos ISO=${DESKTOP}_${SUITE}_${SNAPSHOT_TIMESTAMP}.iso DISTRI=debian VERSION=${SUITE}_${DESKTOP} FLAVOR=live-build ARCH=x86_64 BUILD=:${SNAPSHOT_TIMESTAMP}_${SUITE}_${DESKTOP} CHECKSUM=${CHECKSUM} TIMESTAMP=${SNAPSHOT_TIMESTAMP} ISO_URL=https://tests.reproducible-builds.org/debian_live_build/artifacts/r00t-me/${ISONAME} --odn --apikey ${OPENQA_APIKEY} --apisecret ${OPENQA_APISECRET} DESKTOP=${DESKTOP} | tee out.json
 			;;
 		esac
+		jq .ids out.json | awk '$1 + 0 > 0 { print "- enjoy https://openqa.debian.net/tests/" ($1 + 0) }'
+		jq .scheduled_product_id out.json  | awk '$1 + 0 > 0 { print "- enjoy https://openqa.debian.net/admin/productlog?id=" ($1 + 0) }'
+		rm out.json
 	else
 		if [ -f "${RESULTSDIR}/${PROJECTNAME}/${DESKTOP}/live-image-amd64.hybrid.iso.html" ]; then
 			# Publish the output of diffoscope, there are differences



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/compare/dfa1a03bd6c43a7c10693732dc4a3536f3a7f380...faee29dc1d1cd9e66f3db425e52402c061b05548

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/compare/dfa1a03bd6c43a7c10693732dc4a3536f3a7f380...faee29dc1d1cd9e66f3db425e52402c061b05548
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/20220922/7c83ac37/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list