phase1: prune unused files from dl/
[buildbot.git] / phase1 / master.cfg
index 4bd2f0db295ad7a19cfc0c45beba5e5cb8d830b6..46a9f703c2eaeafcb72536c58bc3a7a4d17a2548 100644 (file)
@@ -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",