projects
/
buildbot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
baff1e6
)
phase1: prune unused files from dl/
author
Thibaut VARÈNE
<hacks@slashdirt.org>
Wed, 26 Oct 2022 19:35:18 +0000
(21:35 +0200)
committer
Petr Štetiar
<ynezz@true.cz>
Mon, 15 May 2023 15:36:01 +0000
(17:36 +0200)
Remove files that haven't been accessed in >15 days from dl/
Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
phase1/master.cfg
patch
|
blob
|
history
diff --git
a/phase1/master.cfg
b/phase1/master.cfg
index 4bd2f0db295ad7a19cfc0c45beba5e5cb8d830b6..46a9f703c2eaeafcb72536c58bc3a7a4d17a2548 100644
(file)
--- 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",