[Git][qa/jenkins.debian.net][master] reproduce.debian.net: document how to rebuild arch:any only
Holger Levsen (@holger)
gitlab at salsa.debian.org
Sun Dec 8 12:10:08 GMT 2024
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
980d9cd2 by Holger Levsen at 2024-12-08T13:09:50+01:00
reproduce.debian.net: document how to rebuild arch:any only
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- hosts/osuosl5-amd64/var/www/html/rebuilderd-setup.html
Changes:
=====================================
hosts/osuosl5-amd64/var/www/html/rebuilderd-setup.html
=====================================
@@ -32,7 +32,8 @@ USER=rebuilderd
REBUILDERD_HOSTNAME=rebuilderd.example.org
# to get a working debrebuild, debootsnap and debsnap (all from src:devscripts)
-sudo apt install devscripts equivs apt-utils mmdebstrap python3-debian python3-pycurl python3-requests libstring-shellquote-perl libdpkg-perl libjson-perl
+sudo apt install devscripts equivs apt-utils mmdebstrap python3-debian python3-pycurl python3-requests libdpkg-perl libjson-perl
+# needed? (not mentioned in devscripts/README.md) libstring-shellquote-perl
# to get a working sbuild with unshare backend
sudo apt install sbuild uidmap
# also needed.. ;)
@@ -94,11 +95,17 @@ apt-get -o Dir=. source --download-only "$(basename "$1" | cut -d_ -f1)"
#
# then start rebuilderd as $USER in screen:
/opt/usr/bin/rebuilderd -c /opt/etc/rebuilderd.conf
+#
# run this in screen as $USER to update the list of packages frequently
while true ; do env REBUILDERD_COOKIE_PATH=~/.local/share/rebuilderd-auth-cookie /opt/usr/bin/rebuildctl -H http://127.0.0.1:8484 pkgs sync-profile --sync-config /opt/etc/rebuilderd-sync.conf debian-main ; echo sleeping 3h now ; sleep 3h ; done
+# for rebuilding arch:any only:
+#
+# /opt/usr/bin/rebuildctl pkgs sync-profile --sync-config /opt/etc/rebuilderd-sync.conf debian-main --print-json | jq '.[] | select(.architecture != "all")' | jq -s | /opt/usr/bin/rebuildctl pkgs sync-stdin debian main
+#
# until https://github.com/kpcyrd/rebuilderd/issues/152 has been fixed,
# it's also useful to randomize the queue initially once, run as $USER:
echo "update queue set priority = ABS(RANDOM()) % 10000;" |sqlite3 ~/rebuilderd.db
+#
# finally start some workers as $USER in screen:
cd
mkdir 1 2
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/980d9cd2706127cf7821d5373d929d5c187293e8
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/980d9cd2706127cf7821d5373d929d5c187293e8
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/20241208/dad98cb1/attachment-0001.htm>
More information about the Qa-jenkins-scm
mailing list