[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible debian live: first step for openqa triggering
Mattia Rizzolo (@mattia)
gitlab at salsa.debian.org
Mon May 23 17:53:32 BST 2022
Mattia Rizzolo pushed to branch master at Debian QA / jenkins.debian.net
Commits:
535490bb by Roland Clobus at 2022-05-23T18:53:23+02:00
reproducible debian live: first step for openqa triggering
upload the just built iso using the new facility
do not enable openqa-cli until a new version is available in debian
(should happen soon)
Signed-off-by: Mattia Rizzolo <mattia at debian.org>
- - - - -
2 changed files:
- bin/reproducible_debian_live_build.sh
- job-cfg/reproducible.yaml
Changes:
=====================================
bin/reproducible_debian_live_build.sh
=====================================
@@ -44,6 +44,21 @@ cleanup() {
mv ${RESULTSDIR}/summary_build1.txt ${PAGE}
rm ${RESULTSDIR}/summary_build2.txt
output_echo "Info: no differences found."
+
+ # Upload the ISO file to the web server
+ ISONAME=${SNAPSHOT_TIMESTAMP}_${DEBIAN_VERSION}_${CONFIGURATION}.iso
+ mv live-image-image64.hybrid.iso ${ISONAME}
+ ssh jenkins at jenkins.debian.net ISOname ${RESULTSDIR}/b1/${PROJECTNAME}/${CONFIGURATION}/${ISONAME}
+
+ # Invoke openQA
+ DESKTOP=${CONFIGURATION}
+ if [ ${DESKTOP} == "smallest-build" ]; then
+ DESKTOP="text"
+ elif [ ${DESKTOP} == "standard" ]; then
+ DESKTOP="text"
+ fi
+ CHECKSUM=$(grep "Checksum:" ${PAGE} | cut -f 2 -d " ")
+ #openqa-cli api -X POST isos ISO=${ISONAME} DISTRI=debian VERSION=${DEBIAN_VERSION}_${CONFIGURATION} FLAVOR=live-build ARCH=x86_64 BUILD=:${CONFIGURATION}_${DEBIAN_VERSION}_${SNAPSHOT_TIMESTAMP} DESKTOP=${DESKTOP} CHECKSUM=${CHECKSUM} TIMESTAMP=${SNAPSHOT_TIMESTAMP} ISO_URL=https://tests.reproducible-builds.org/debian_live_build/${ISONAME} --odn --apikey ${OPENQA_APIKEY} --apisecret ${OPENQA_APISECRET}
else
if [ -f "${RESULTSDIR}/${PROJECTNAME}/${CONFIGURATION}/live-image-amd64.hybrid.iso.html" ]; then
# Publish the output of diffoscope, there are differences
=====================================
job-cfg/reproducible.yaml
=====================================
@@ -235,6 +235,19 @@
option: category
categories:
- debian_live_build
+ parameters:
+ - credentials:
+ name: OPENQA_APIKEY
+ type: secrettext
+ required: true
+ default: openqa-live-apikey
+ description: The key from https://openqa.debian.net/api_keys, generated by rclobus-guest
+ - credentials:
+ name: OPENQA_APISECRET
+ type: secrettext
+ required: true
+ default: openqa-live-apisecret
+ description: The key from https://openqa.debian.net/api_keys, generated by rclobus-guest
logrotate:
daysToKeep: '{my_keep_build_days}'
numToKeep: 50
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/535490bbee54340e8433cead8d1560ceb4e67849
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/535490bbee54340e8433cead8d1560ceb4e67849
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/20220523/02dc0bd6/attachment-0001.htm>
More information about the Qa-jenkins-scm
mailing list