summaryrefslogtreecommitdiffstats
path: root/files/osbs
diff options
context:
space:
mode:
authorAdam Miller <admiller@redhat.com>2016-11-07 20:26:17 +0000
committerAdam Miller <admiller@redhat.com>2016-11-07 20:26:17 +0000
commit066000e23b28a5a2147316b6cce291b4e5b1da0b (patch)
treeba9a14bb364fc1eee28af6b1d8affc666c6cf542 /files/osbs
parent3631ca6589a2ebdf352940a33f058762d9a37fa8 (diff)
downloadansible-066000e23b28a5a2147316b6cce291b4e5b1da0b.tar.gz
ansible-066000e23b28a5a2147316b6cce291b4e5b1da0b.tar.xz
ansible-066000e23b28a5a2147316b6cce291b4e5b1da0b.zip
add osbs old build cleanup for openshift cluster
Signed-off-by: Adam Miller <admiller@redhat.com>
Diffstat (limited to 'files/osbs')
-rw-r--r--files/osbs/cleanup-old-osbs-builds4
1 files changed, 4 insertions, 0 deletions
diff --git a/files/osbs/cleanup-old-osbs-builds b/files/osbs/cleanup-old-osbs-builds
new file mode 100644
index 000000000..27cf132ff
--- /dev/null
+++ b/files/osbs/cleanup-old-osbs-builds
@@ -0,0 +1,4 @@
+SHELL=/bin/bash
+MAILTO=maxamillion@fedoraproject.org
+
+0 0 * * * root oadm prune builds --orphans --keep-younger-than=720h0m0s --confirm \ No newline at end of file