copr-backend: activate copr_prune_results but on weekly basis

This commit is contained in:
clime 2018-02-23 17:57:12 +01:00
parent 176c3bb2fc
commit b2ab563302
3 changed files with 5 additions and 5 deletions

View file

@ -1,3 +0,0 @@
#!/usr/bin/sh
#runuser -c "PYTHONUNBUFFERED=1 python /usr/bin/copr_prune_results.py &> /dev/null" - copr

View file

@ -0,0 +1,3 @@
#!/usr/bin/sh
runuser -c "PYTHONUNBUFFERED=1 python /usr/bin/copr_prune_results.py &> /dev/null" - copr

View file

@ -101,8 +101,8 @@
notify:
- restart lighttpd
- name: provisional copr-backend cron.daily job
copy: src="cron.daily/copr-backend" dest="/etc/cron.daily/copr-backend" owner=root group=root mode=0644
- name: provisional copr-backend cron.weekly job
copy: src="cron.weekly/copr-backend" dest="/etc/cron.weekly/copr-backend" owner=root group=root mode=0644
- name: install custom lighttpd template for directory listings
template: src="lighttpd/dir-generator.php.j2" dest="/var/lib/copr/public_html/dir-generator.php" owner=copr group=copr mode=0755