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:
parent
9fb18a7a4d
commit
bf441cff59
3 changed files with 4 additions and 5 deletions
3
roles/koji_hub/files/koji-prune-signed-copies
Normal file
3
roles/koji_hub/files/koji-prune-signed-copies
Normal 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"
|
|
@ -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
|
|
|
@ -409,7 +409,7 @@
|
||||||
with_items:
|
with_items:
|
||||||
- koji-directory-cleanup
|
- koji-directory-cleanup
|
||||||
- koji-gc
|
- koji-gc
|
||||||
- koji-prunesigs
|
- koji-prune-signed-copies
|
||||||
tags:
|
tags:
|
||||||
- files
|
- files
|
||||||
- koji_hub
|
- koji_hub
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue