[buildbot] phase1: prune unused files from dl/
LEDE Commits
lede-commits at lists.infradead.org
Mon May 15 08:39:39 PDT 2023
ynezz pushed a commit to buildbot.git, branch master:
https://git.openwrt.org/68b20ed67b5ecff31621750a15ca893841001490
commit 68b20ed67b5ecff31621750a15ca893841001490
Author: Thibaut VARÈNE <hacks at slashdirt.org>
AuthorDate: Wed Oct 26 21:35:18 2022 +0200
phase1: prune unused files from dl/
Remove files that haven't been accessed in >15 days from dl/
Signed-off-by: Thibaut VARÈNE <hacks at slashdirt.org>
---
phase1/master.cfg | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/phase1/master.cfg b/phase1/master.cfg
index 4bd2f0d..46a9f70 100644
--- a/phase1/master.cfg
+++ b/phase1/master.cfg
@@ -780,6 +780,15 @@ for target in targets:
want_stdout = False,
))
+ # cleanup dl
+ factory.addStep(ShellCommand(
+ name = "dlprune",
+ description = "Pruning dl/",
+ descriptionDone = "dl/ pruned",
+ command = 'find dl/ -atime +15 -delete -print',
+ logEnviron = False,
+ ))
+
# prepare tar
factory.addStep(ShellCommand(
name = "dltar",
More information about the lede-commits
mailing list