[Git][qa/jenkins.debian.net][master] rdn: add support for syncing several components
Holger Levsen (@holger)
gitlab at salsa.debian.org
Sun Aug 24 18:39:25 BST 2025
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
67c4d5ad by Holger Levsen at 2025-08-24T19:39:15+02:00
rdn: add support for syncing several components
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/rebuilderd_pkgsync.sh
Changes:
=====================================
bin/rebuilderd_pkgsync.sh
=====================================
@@ -8,6 +8,7 @@ set -o pipefail # see eg http://petereisentraut.blogspot.com/2010/11/pipefail.h
ARCH=$1
REBUILDCTL=/usr/bin/rebuildctl
+COMPONENTS=main
#
# choose correct port
#
@@ -18,6 +19,7 @@ case $ARCH in
;;
amd64-pull184) PORT=8494
REBUILDCTL=/usr/local/usr/bin/rebuildctl
+ COMPONENTS="main non-free-firmware"
;;
arm64) PORT=8486
;;
@@ -39,4 +41,6 @@ esac
# REBUILDERD_COOKIE_PATH is be set by service
# FIXME set it here too until it's run by the service
export REBUILDERD_COOKIE_PATH=/srv/rebuilderd/$ARCH/.auth-cookie
-exec $REBUILDCTL -H http://127.0.0.1:$PORT pkgs sync-profile --sync-config "/etc/rebuilderd/rebuilderd-sync-${ARCH}.conf" debian-main
+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
+done
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/67c4d5ad6d13cd3a94c65e7c63cc7f604ba29f94
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/67c4d5ad6d13cd3a94c65e7c63cc7f604ba29f94
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/642f66a7/attachment-0001.htm>
More information about the Qa-jenkins-scm
mailing list