[Git][qa/jenkins.debian.net][master] fixup: rdn: add support for syncing several components
Holger Levsen (@holger)
gitlab at salsa.debian.org
Sun Aug 24 18:41:31 BST 2025
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
684439c0 by Holger Levsen at 2025-08-24T19:41:12+02:00
fixup: rdn: add support for syncing several components
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
2 changed files:
- bin/djm-rebuildctlwatch
- bin/rebuilderd_pkgsync.sh
Changes:
=====================================
bin/djm-rebuildctlwatch
=====================================
@@ -6,9 +6,10 @@
set -e
#
-# TODO: refactor into bin/djm
+# TODO: refactor into bin/djm --watch-rdn-queue or just -w
#
+
# global variables
PORT=0
BG=""
@@ -57,6 +58,6 @@ for ARCH in all amd64 amd64-pull184 arm64 armel armhf i386 ppc64el riscv64 ; do
set_arch_color $ARCH
COMMAND="watch -n 60 '$REBUILDCTL -H http://127.0.0.1:$PORT/ queue ls -C |sort -rk6'"
xterm -T "rebuildctl $ARCH $PORT" -class deploy-jenkins -bg $BG -fa 'DejaVuSansMono' -fs 10 -e "ssh -t osuosl5-amd64.debian.net \"$COMMAND\"" &
- sleep 0.5
+ sleep 0.25
done
=====================================
bin/rebuilderd_pkgsync.sh
=====================================
@@ -42,5 +42,5 @@ esac
# FIXME set it here too until it's run by the service
export REBUILDERD_COOKIE_PATH=/srv/rebuilderd/$ARCH/.auth-cookie
for component in $COMPONENTS ; do
- exec $REBUILDCTL -H http://127.0.0.1:$PORT pkgs sync-profile --sync-config "/etc/rebuilderd/rebuilderd-sync-${ARCH}.conf" $component
+ exec $REBUILDCTL -H http://127.0.0.1:$PORT pkgs sync-profile --sync-config "/etc/rebuilderd/rebuilderd-sync-${ARCH}.conf" debian-$component
done
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/684439c0831df7fb556a3bb002d8d7e71e21ab7d
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/684439c0831df7fb556a3bb002d8d7e71e21ab7d
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/20250824/7bd2a402/attachment-0001.htm>
More information about the Qa-jenkins-scm
mailing list