koji_hub: cleanup prune signed copies cron/script

* Rename to koji-prune-signed-copies to make it clear it's not removing signatures
* Quote the script and args gor lock-wrapper so it runs and doesn't error out.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2019-06-24 19:44:11 +00:00
parent 9fb18a7a4d
commit bf441cff59
3 changed files with 4 additions and 5 deletions

View File

@ -0,0 +1,3 @@
# Run prune-signed-copies nightly
MAILTO=releng-cron@lists.fedoraproject.org
0 8 * * * apache /usr/local/bin/lock-wrapper koji-prune-signed "/usr/bin/koji --noauth prune-signed-copies --verbose --protect-tag-file=/etc/prune-signed-copies-protected-tags"

View File

@ -1,4 +0,0 @@
# Run prune-signed-copies nightly
MAILTO=releng-cron@lists.fedoraproject.org
SCRIPT=/usr/bin/koji
0 8 * * * apache /usr/local/bin/lock-wrapper koji-prune-signed $SCRIPT --noauth prune-signed-copies --verbose --protect-tag-file=/etc/prune-signed-copies-protected-tags

View File

@ -409,7 +409,7 @@
with_items:
- koji-directory-cleanup
- koji-gc
- koji-prunesigs
- koji-prune-signed-copies
tags:
- files
- koji_hub