[Git][qa/jenkins.debian.net][master] rdn: fix schedule script for pull-184

Holger Levsen (@holger) gitlab at salsa.debian.org
Sun Sep 7 03:03:03 BST 2025



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


Commits:
d75ff06f by Jochen Sprickerhof at 2025-09-07T04:02:54+02:00
rdn: fix schedule script for pull-184

(cherry picked from commit 41b00e856c3199b23d417eb1b629e7e5c0406fe6)
Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- bin/rebuilderd_manual_scheduler.sh


Changes:

=====================================
bin/rebuilderd_manual_scheduler.sh
=====================================
@@ -9,7 +9,10 @@ REBUILDCTL=/usr/bin/rebuildctl
 #
 # choose correct port
 #
-case $1 in
+ARCH=$1
+shift
+ARGS="pkgs requeue --reset --distro debian --name"
+case $ARCH in
 	any)		shift
 			# needs $release for -pull184
 			for arch in amd64 arm64 armel armhf i386 riscv64 ppc64el ; do
@@ -21,11 +24,15 @@ case $1 in
 			;;
 	all-pull184)	PORT=8495
 			REBUILDCTL=/usr/local/usr/bin/rebuildctl
+			ARGS="queue push --architecture all debian $1"
+			shift
 			;;
 	amd64)		PORT=8484
 			;;
 	amd64-pull184)	PORT=8494
 			REBUILDCTL=/usr/local/usr/bin/rebuildctl
+			ARGS="queue push --architecture amd64 debian $1"
+			shift
 			;;
 	arm64)		PORT=8486
 			;;
@@ -44,8 +51,6 @@ case $1 in
 			;;
 esac
 
-ARCH=$1
-shift
 PKGS=$@
 export REBUILDERD_COOKIE_PATH=/srv/rebuilderd/$ARCH/.auth-cookie
 SUCCESSES=""
@@ -54,7 +59,7 @@ FAILURES=""
 f=0
 for i in $(echo -e $PKGS | tr -d 🍥 | tr -d 🔬 | tr -d 💠 | tr -d '#') ; do
 	echo -n "Scheduling $i: "
-	if $REBUILDCTL -H http://127.0.0.1:$PORT pkgs requeue --reset --distro debian --name $i ; then
+	if $REBUILDCTL -H http://127.0.0.1:$PORT $ARGS $i ; then
 		SUCCESSES="$SUCCESSES $i"
 		let s+=1
 		echo ok



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/d75ff06fce828ad7617115f8976aed359f7d69d8
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/20250907/2b978cb5/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list