[Git][qa/jenkins.debian.net][master] fixup³: i386.reproduce.debian.net: use signup_secret from /opt/etc/rebuilderd.secret

Holger Levsen (@holger) gitlab at salsa.debian.org
Thu Jan 2 17:51:48 GMT 2025



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


Commits:
1cc73367 by Holger Levsen at 2025-01-02T18:51:39+01:00
fixup³: i386.reproduce.debian.net: use signup_secret from /opt/etc/rebuilderd.secret

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

- - - - -


1 changed file:

- update_jdn.sh


Changes:

=====================================
update_jdn.sh
=====================================
@@ -735,11 +735,11 @@ if [ "$HOSTNAME" = "jenkins" ] || [ "$HOSTNAME" = "ionos7-amd64" ] || [ "$HOSTNA
 fi
 # set secret for remote rebuilderd-workers
 case $HOSTNAME in
-	infom07|infom08*)	SIGNUPSECRET="$(sudo cat /opt/etc/rebuilderd.secret)"
+	infom07*|infom08*)	SIGNUPSECRET="$(sudo cat /opt/etc/rebuilderd.secret)"
 				for i in rebuilderd.conf rebuilderd-worker.conf ; do
 					if [ -f /opt/etc/$i ] ; then
 						if grep -q '^signup_secret = "INSECURE"' /opt/etc/$i ; then
-							sudo sed -i "s^signup_secret = \"INSECURE\"#signup_secret = \"$SIGNUPSECRET\"#g" /opt/etc/$i
+							sudo sed -i "s#^signup_secret = \"INSECURE\"#signup_secret = \"$SIGNUPSECRET\"#g" /opt/etc/$i
 						fi
 					fi
 				done



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/1cc733674aa156a85fca447c3bf49cad509f7ce6
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/20250102/40a87c91/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list