[Git][qa/jenkins.debian.net][master] reproduce.debian.net: more tweaks for setup doc
Holger Levsen (@holger)
gitlab at salsa.debian.org
Sat Dec 7 21:46:43 GMT 2024
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
cdc2131c by Holger Levsen at 2024-12-07T22:46:36+01:00
reproduce.debian.net: more tweaks for setup doc
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
=====================================
@@ -25,15 +25,18 @@
</h1>
<pre>
-(version 0.2, feedback much welcome.)
+(version 0.3, feedback much welcome.)
USER=rebuilderd
# sudo adduser $USER ; sudo passwd -d $USER
REBUILDERD_HOSTNAME=rebuilderd.example.org
-# to get a working debrebuild (from src:devscripts) and sbuild with unshare backend
-sudo apt install devscripts sbuild uidmap
-sudo apt install apt-utils dpkg-dev mmdebstrap debian-keyring
+# 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
+# to get a working sbuild with unshare backend
+sudo apt install sbuild uidmap
+# also needed.. ;)
+sudo apt install dpkg-dev debian-keyring
#
# the filesystem layout used was
@@ -93,6 +96,9 @@ apt-get -o Dir=. source --download-only "$(basename "$1" | cut -d_ -f1)"
/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
+# 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
@@ -100,9 +106,6 @@ cd 1
/opt/usr/bin/rebuilderd-worker -c /opt/etc/rebuilderd-worker.conf connect
cd 2
/opt/usr/bin/rebuilderd-worker -c /opt/etc/rebuilderd-worker.conf connect
-# 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
#
# FIXME: this should be done, aehm, differently ;)
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/cdc2131cab9ef900b87daacf94e0bd9bef21f4f8
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/cdc2131cab9ef900b87daacf94e0bd9bef21f4f8
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/20241207/b9e8b270/attachment-0001.htm>
More information about the Qa-jenkins-scm
mailing list