[Git][qa/jenkins.debian.net][master] 2 commits: rdn: rely on rebuildctl to only sync arch specific packages

Holger Levsen (@holger) gitlab at salsa.debian.org
Wed May 7 08:37:05 BST 2025



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


Commits:
49ef8041 by Jochen Sprickerhof at 2025-05-07T09:36:01+02:00
rdn: rely on rebuildctl to only sync arch specific packages

Fixed in rebuilderd since v0.23.0.

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

- - - - -
b960005b by Holger Levsen at 2025-05-07T09:36:54+02:00
r.d.n.: Use only two workers for ppc64el due to RAM size

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

- - - - -


2 changed files:

- bin/rebuilderd_pkgsync.sh
- update_jdn.sh


Changes:

=====================================
bin/rebuilderd_pkgsync.sh
=====================================
@@ -7,13 +7,11 @@ set -e
 set -o pipefail		# see eg http://petereisentraut.blogspot.com/2010/11/pipefail.html
 
 ARCH=$1
-JQQUERY='.[] | select(.architecture != "all")'
 #
 # choose correct port
 #
 case $ARCH in
 	all)		PORT=8489
-			JQQUERY='.[] | select(.architecture = "all")'
 			;;
 	amd64)		PORT=8484
 			;;
@@ -37,14 +35,4 @@ 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
-if RESULT="$(rebuildctl -H http://127.0.0.1:$PORT pkgs sync-profile \
-	--sync-config /opt/etc/rebuilderd-sync-${ARCH}.conf debian-main \
-	--print-json)" ; then
-	echo -e "$RESULT" \
-	| jq "$JQQUERY" \
-	| jq -s \
-	| rebuildctl -H http://127.0.0.1:$PORT pkgs sync-stdin debian main
-else
-	echo "rebuildctl -H http://127.0.0.1:$PORT pkgs sync-profile failed:"
-	echo -e "$RESULT"
-fi
+exec rebuildctl -H http://127.0.0.1:$PORT -- pkgs sync-profile --sync-config "/opt/etc/rebuilderd-sync-${ARCH}.conf" debian-main


=====================================
update_jdn.sh
=====================================
@@ -999,7 +999,7 @@ case $HOSTNAME in
 						;;
 	riscv64*)				deploy_rebuilderd_services worker 3
 						;;
-	*ppc64el)				deploy_rebuilderd_services worker 4
+	*ppc64el)				deploy_rebuilderd_services worker 2
 						;;
 	osuosl5*)				deploy_rebuilderd_services rebuilderd	"all amd64 arm64 armel armhf i386 riscv64 ppc64el"
 						deploy_rebuilderd_services pkgsync	"all amd64 arm64 armel armhf i386 riscv64 ppc64el"



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/compare/b38ac08842f387dc4ab9c325e77d838d7233d8df...b960005b89bd73ea749565d35d8c7ea873c8ec33

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/compare/b38ac08842f387dc4ab9c325e77d838d7233d8df...b960005b89bd73ea749565d35d8c7ea873c8ec33
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/20250507/23725d2d/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list