[Git][qa/jenkins.debian.net][master] debian_live_build: Use openqa-client directly

Holger Levsen (@holger) gitlab at salsa.debian.org
Wed Oct 29 07:32:06 GMT 2025



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


Commits:
050f0915 by Roland Clobus at 2025-10-29T08:31:07+01:00
debian_live_build: Use openqa-client directly

Use the 'openqa-cli' command directly instead of via the schroot

(cherry picked from commit 03f5b05fe15f530aa32bd48a19ff276cfa77cbc3)
Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


2 changed files:

- bin/jenkins_node_wrapper.sh
- bin/reproducible_debian_live_build.sh


Changes:

=====================================
bin/jenkins_node_wrapper.sh
=====================================
@@ -153,7 +153,7 @@ elif [[ "$*" =~ ^reproducible_maintenance_.*_.* ]] ; then
 elif [[ "$*" =~ ^reproducible_node_health_check_.*_.* ]] ; then
 	exec /srv/jenkins/bin/reproducible_node_health_check.sh ; croak "Exec failed";
 elif [[ "$*" =~ ^reproducible_setup_schroot_unstable_diffoscope_.*_.* ]] ; then
-	exec /srv/jenkins/bin/schroot-create.sh reproducible reproducible-unstable-diffoscope unstable diffoscope locales-all openqa-client ; croak "Exec failed";
+	exec /srv/jenkins/bin/schroot-create.sh reproducible reproducible-unstable-diffoscope unstable diffoscope locales-all; croak "Exec failed";
 elif [[ "$*" =~ ^reproducible_coreboot ]] ; then
 	exec /srv/jenkins/bin/reproducible_coreboot.sh ; croak "Exec failed";
 elif [[ "$*" =~ ^reproducible_openwrt ]] ; then


=====================================
bin/reproducible_debian_live_build.sh
=====================================
@@ -81,7 +81,7 @@ publish_results() {
 		output_echo "Triggering openqa.debian.net for live-build ${IMAGE_TIMESTAMP}_${SUITE}_${DESKTOP} checksum=${CHECKSUM} now."
 		# Allow for more details when openQA fails
 		set +e
-		schroot --directory ${RESULTSDIR} -c source:jenkins-reproducible-unstable-diffoscope -- openqa-cli api -X POST isos ISO=${DESKTOP}_${SUITE}_${IMAGE_TIMESTAMP}.iso DISTRI=debian-live VERSION=${SUITE} FLAVOR=${DESKTOP} ARCH=x86_64 BUILD=${BUILD} CHECKSUM=${CHECKSUM} TIMESTAMP=${IMAGE_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
+		openqa-cli api -X POST isos ISO=${DESKTOP}_${SUITE}_${IMAGE_TIMESTAMP}.iso DISTRI=debian-live VERSION=${SUITE} FLAVOR=${DESKTOP} ARCH=x86_64 BUILD=${BUILD} CHECKSUM=${CHECKSUM} TIMESTAMP=${IMAGE_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
 		OPENQA_RETURNVALUE=$?
 		# Turn on again
 		set -e



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/050f091586c0490596ab7ea8ab28e5277cd7687a
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/20251029/96ccced6/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list