From ee0d28b7cf0dc86fbdba64cd0cd6c90fb7aa7b41 Mon Sep 17 00:00:00 2001 From: Clement Verna Date: Tue, 13 Aug 2019 16:07:52 +0200 Subject: [PATCH] OSBS: update the delete old image cron job Signed-off-by: Clement Verna --- files/osbs/cleanup-old-osbs-builds | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/files/osbs/cleanup-old-osbs-builds b/files/osbs/cleanup-old-osbs-builds index 27cf132ff4..7fed9eb07b 100644 --- a/files/osbs/cleanup-old-osbs-builds +++ b/files/osbs/cleanup-old-osbs-builds @@ -1,4 +1,3 @@ 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 +0 0 * * * root oc adm prune builds --keep-complete=0 --keep-failed=0 --keep-younger-than=72h0m0s --orphans --confirm