[Git][qa/jenkins.debian.net][master] r.d.n.: also cleanup partical cache files on boot
Holger Levsen (@holger)
gitlab at salsa.debian.org
Sat Apr 5 12:20:32 BST 2025
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
fa6782be by Holger Levsen at 2025-04-05T13:20:08+02:00
r.d.n.: also cleanup partical cache files on boot
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
2 changed files:
- TODO.rebuilderd-systemd-units
- bin/rebuilderd_cleanup.sh
Changes:
=====================================
TODO.rebuilderd-systemd-units
=====================================
@@ -1,28 +1,18 @@
-several worker units, via one file?
- depending on a worker cleanup target
- cd ~/worker/$x # where $x is number and we only want to define a max number
- rebuilderd-worker -c /opt/etc/rebuilderd-worker.conf connect
-
-worker cleanup target
- run at boot
- sudo rm /srv/rebuilderd/tmp/mmdebstrap.* /srv/rebuilderd/tmp/debrebuild*/ /srv/rebuilderd/tmp/tmp* -rf
- find /srv/rebuilderd/cache -name '*.part' -exec sudo rm -v {} \;
-
-debrebuild cache size limiter unit
- run once a day?
- configurable
- use atime if available, else mtime
-
pkg sync unit
run every 6h +- 30min, 2.5h after dinstall
rebuilderd units
rebuilderd backup unit
+backup all script, which shut downs each rebuilderd as needed
+
+debrebuild cache size limiter unit
+ run once a day?
+ configurable
+ use atime if available, else mtime
rebuilderd update stats unit
run before 1st dinstall of the day
also update graphs
-backup all script, which shut downs each rebuilderd as needed
=====================================
bin/rebuilderd_cleanup.sh
=====================================
@@ -9,3 +9,7 @@ set -e
if [ -d ~rebuilderd/tmp ] ; then
rm ~rebuilderd/tmp/* -rf
fi
+
+# cleanup partitial cache files
+find /srv/rebuilderd/cache -name '*.part' -exec rm {} \;
+
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/fa6782bea41205ff48b7ce9885e2e3cf286c9a64
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/fa6782bea41205ff48b7ce9885e2e3cf286c9a64
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/20250405/1800573e/attachment-0001.htm>
More information about the Qa-jenkins-scm
mailing list