[Git][qa/jenkins.debian.net][master] arm64.reproduce.debian.net: configure secret for workers correctly
Holger Levsen (@holger)
gitlab at salsa.debian.org
Tue Jan 21 22:31:01 GMT 2025
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
619b476e by Holger Levsen at 2025-01-21T23:30:46+01:00
arm64.reproduce.debian.net: configure secret for workers correctly
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
3 changed files:
- hosts/osuosl5-amd64/opt/etc/rebuilderd-arm64.conf
- hosts/osuosl5-amd64/var/www/html/rebuilderd-setup.html
- update_jdn.sh
Changes:
=====================================
hosts/osuosl5-amd64/opt/etc/rebuilderd-arm64.conf
=====================================
@@ -22,12 +22,12 @@ bind_addr = "127.0.0.1:8486"
#cookie = "INSECURE"
## IMPORTANT: in production, make sure either `authorized_workers` or `signup_secret` is configured.
-#[worker]
+[worker]
## If we have a fixed set of workers we can allow-list the keys here.
#authorized_workers = ["key1", "key2"]
## If we want to spawn new workers dynamically we can configure a sign up secret below.
## Use `pwgen -1s 32` to generate one.
-#signup_secret = "INSECURE"
+signup_secret = "INSECURE"
#[schedule]
## Configure the delay to automatically retry failed rebuilds in hours. The
=====================================
hosts/osuosl5-amd64/var/www/html/rebuilderd-setup.html
=====================================
@@ -141,5 +141,8 @@ while true ; do env REBUILDERD_COOKIE_PATH=~/.local/share/rebuilderd-auth-cookie
cd ; mkdir -p arm64 ; cd adm64 ; /opt/usr/bin/rebuilderd -c /opt/etc/rebuilderd-arm64.conf
while true ; do env REBUILDERD_COOKIE_PATH=~/.local/share/rebuilderd-auth-cookie /opt/usr/bin/rebuildctl -H http://127.0.0.1:8486 pkgs sync-profile --sync-config /opt/etc/rebuilderd-sync-arm64.conf debian-main --print-json | jq '.[] | select(.architecture != "all")' | jq -s | env REBUILDERD_COOKIE_PATH=~/.local/share/rebuilderd-auth-cookie /opt/usr/bin/rebuildctl -H http://127.0.0.1:8486 pkgs sync-stdin debian main ; echo sleeping 3h now ; sleep 3h ; done
+with rebuilderd-worker from trixie:
+rebuilderd-worker -c /opt/etc/rebuilderd-worker.conf connect
+
</body>
</html>
=====================================
update_jdn.sh
=====================================
@@ -554,6 +554,7 @@ if [ -f /etc/debian_version ] ; then
infom07*|infom08*|codethink02*) DEBS="$DEBS
diffoscope
python3-rpy2
+ rebuilderd-worker
" ;;
*) ;;
esac
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/619b476e561e1c3d37a4f21664c739bbb2e1eb9c
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/619b476e561e1c3d37a4f21664c739bbb2e1eb9c
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/20250121/7d369fc6/attachment-0001.htm>
More information about the Qa-jenkins-scm
mailing list