[Git][qa/jenkins.debian.net][master] 2 commits: r.d.n: workers should cleanup debrebuild's cache

Holger Levsen (@holger) gitlab at salsa.debian.org
Mon Feb 10 13:20:57 GMT 2025



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


Commits:
5c8258a9 by Holger Levsen at 2025-02-10T14:11:41+01:00
r.d.n: workers should cleanup debrebuild's cache

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

- - - - -
bc11e0c2 by Holger Levsen at 2025-02-10T14:20:26+01:00
r.d.n: prepare all.r.d.n

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

- - - - -


5 changed files:

- TODO.rebuilderd-systemd-units
- hosts/osuosl5-amd64/etc/dehydrated/domains.txt
- hosts/osuosl5-amd64/etc/nginx/nginx.conf
- + hosts/osuosl5-amd64/opt/etc/rebuilderd-all.conf
- + hosts/osuosl5-amd64/opt/etc/rebuilderd-sync-all.conf


Changes:

=====================================
TODO.rebuilderd-systemd-units
=====================================
@@ -6,7 +6,7 @@ several worker units, via one file?
 worker cleanup target
 	run at boot
 	sudo rm /srv/rebuilderd/tmp/mmdebstrap.* /srv/rebuilderd/tmp/debrebuild*/ /srv/rebuilderd/tmp/tmp* -rf
-	.part files in cache
+	find /srv/rebuilderd/cache -name '*.part' -exec sudo rm -v  {} \;
 
 debrebuild cache size limiter unit
 	run once a day?


=====================================
hosts/osuosl5-amd64/etc/dehydrated/domains.txt
=====================================
@@ -4,3 +4,4 @@ i386.reproduce.debian.net
 arm64.reproduce.debian.net
 armhf.reproduce.debian.net
 riscv64.reproduce.debian.net
+all.reproduce.debian.net


=====================================
hosts/osuosl5-amd64/etc/nginx/nginx.conf
=====================================
@@ -291,6 +291,7 @@ http {
         server_name     arm64.reproduce.debian.net;
         server_name     armhf.reproduce.debian.net;
         server_name     riscv64.reproduce.debian.net;
+        server_name     all.reproduce.debian.net;
 
         location /.well-known/acme-challenge/ {
             alias /var/lib/dehydrated/acme-challenges/;


=====================================
hosts/osuosl5-amd64/opt/etc/rebuilderd-all.conf
=====================================
@@ -0,0 +1,40 @@
+## Configuration for http daemon
+[http]
+## The address to bind to. This is 127.0.0.1:8484 by default.
+bind_addr = "127.0.0.1:8489"
+## If you use a reverse proxy, use this header instead of the actual connecting ip.
+## Make sure the reverse proxy has filters in place to prevent spoofing issues.
+#real_ip_header = "X-Real-IP"
+## Set a default endpoint for rebuildctl. This is especially useful for the sync timer.
+#endpoint = "http://127.0.0.1:8484"
+
+## A random cookie for administration is generated at startup and written to /var/lib/rebuilderd/auth-cookie
+## You can set this to a fixed value here. Use `pwgen -1s 32` to generate one.
+## rebuildctl is searching for this cookie in ~/.config/rebuilderd.conf, /etc/rebuilderd.conf and
+## /var/lib/rebuilderd/auth-cookie in that order.
+#[auth]
+#cookie = "INSECURE"
+
+## The auth cookie above is only used for the default endpoint.
+## You can use different endpoints with `rebuildctl -H https://rebuilder.example.com status`,
+## In that case you need to configure a section below if you want to attach a cookie.
+#[endpoints."https://rebuilder.example.com"]
+#cookie = "INSECURE"
+
+## IMPORTANT: in production, make sure either `authorized_workers` or `signup_secret` is configured.
+[worker]
+## If we have a fixed set of workers we can allow-list the keys here.
+#authorized_workers = ["key1", "key2"]
+## If we want to spawn new workers dynamically we can configure a sign up secret below.
+## Use `pwgen -1s 32` to generate one.
+signup_secret = "INSECURE"
+
+#[schedule]
+## Configure the delay to automatically retry failed rebuilds in hours. The
+## default is 24h, this base is multiplied with the number of rebuilds, so the
+## first retry would happen after 24h, the second retry would happen 48h after the
+## first retry and the third retry would happen 72h after the second retry. There
+## is no upper limit of retries, if you can't afford frequent retries it's
+## recommended to set this to a high value like 168 (1 week) or higher.
+## Successful rebuilds are not retried.
+#retry_delay_base = 24


=====================================
hosts/osuosl5-amd64/opt/etc/rebuilderd-sync-all.conf
=====================================
@@ -0,0 +1,9 @@
+[profile."debian-main"]
+distro = "debian"
+suite = "main"
+architectures = ["all"]
+#releases = ["buster", "sid"]
+releases = ["trixie"]
+source = "http://deb.debian.org/debian"
+#excludes = ["tensorflow*"]
+#pkgs = ["anarchism"]



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/compare/2a7d73ef9961c5bdeea6b2b0c31ef4c7aebc1c3c...bc11e0c2f47d33447d5a090142fd6fd21e9594bf

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/compare/2a7d73ef9961c5bdeea6b2b0c31ef4c7aebc1c3c...bc11e0c2f47d33447d5a090142fd6fd21e9594bf
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/20250210/3535deb9/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list