[Git][qa/jenkins.debian.net][master] r.d.n.: make pkksync script more robust
Holger Levsen (@holger)
gitlab at salsa.debian.org
Sun Apr 6 09:47:53 BST 2025
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
fa10746e by Holger Levsen at 2025-04-06T10:47:45+02:00
r.d.n.: make pkksync script more robust
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/rebuilderd_pkgsync.sh
Changes:
=====================================
bin/rebuilderd_pkgsync.sh
=====================================
@@ -33,9 +33,14 @@ 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
-/opt/usr/bin/rebuildctl -H http://127.0.0.1:$PORT pkgs sync-profile \
+if RESULT="$(/opt/usr/bin/rebuildctl -H http://127.0.0.1:$PORT pkgs sync-profile \
--sync-config /opt/etc/rebuilderd-sync-${ARCH}.conf debian-main \
- --print-json \
+ --print-json)" ; then
+ echo -e "$RESULT" \
| jq "$JQQUERY" \
| jq -s \
| /opt/usr/bin/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
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/fa10746ed57ba790cd9f1a8053ab6e3f7c08f59b
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/fa10746ed57ba790cd9f1a8053ab6e3f7c08f59b
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/20250406/7185a361/attachment-0001.htm>
More information about the Qa-jenkins-scm
mailing list