[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible_debian_live_build: Pass along the openQA secrets
Holger Levsen (@holger)
gitlab at salsa.debian.org
Sun Sep 18 20:14:14 BST 2022
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
3c68d207 by Roland Clobus at 2022-09-18T21:13:55+02:00
reproducible_debian_live_build: Pass along the openQA secrets
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
2 changed files:
- bin/jenkins_master_wrapper.sh
- bin/jenkins_node_wrapper.sh
Changes:
=====================================
bin/jenkins_master_wrapper.sh
=====================================
@@ -35,8 +35,8 @@ case $JOB_NAME in
PARAMS+=("$@")
;;
reproducible_debian_live_build_*)
- # the BUILD_TAG and BUILD_URL are re-exported on the nodes then
- PARAMS+=("$BUILD_TAG" "$BUILD_URL" "$@")
+ # the openQA secrets are re-exported on the nodes then
+ PARAMS+=("$OPENQA_APIKEY" "$OPENQA_APISECRET" "$@")
;;
janitor-worker)
# the BUILD_URL is re-exported on the nodes then
=====================================
bin/jenkins_node_wrapper.sh
=====================================
@@ -187,9 +187,8 @@ elif [ "$1" = "/srv/jenkins/bin/reproducible_build_archlinux_pkg.sh" ] && ( [ "$
elif [ "$1" = "/srv/jenkins/bin/reproducible_build_rpm.sh" ] && ( [ "$2" = "1" ] || [ "$2" = "2" ] ) ; then
exec /srv/jenkins/bin/reproducible_build_rpm.sh "$2" "$3" "$4" "$5" "$6" "$7" ; croak "Exec failed";
elif [[ "$*" =~ ^reproducible_debian_live_build.* ]] ; then
- # would be nice to generalize this so that all remote jobs have these variables
- export BUILD_TAG="$2"
- export BUILD_URL="$3"
+ export OPENQA_APIKEY="$2"
+ export OPENQA_APISECRET="$3"
shift 3
exec /srv/jenkins/bin/reproducible_debian_live_build.sh $@; croak "Exec failed";
elif [ "$*" = "some_jenkins_job_name" ] ; then
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/3c68d2070ece1a3d37bef58b5f389f3558a2964f
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/3c68d2070ece1a3d37bef58b5f389f3558a2964f
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/20220918/fa48ccf9/attachment-0001.htm>
More information about the Qa-jenkins-scm
mailing list