copr-frontend: install custom crontabs for error supressing

there are some problems with cronjobs that should be fixed upstream.
Given that copr admins are not the ones receiving the error emails,
it's the best to just supress them.
This commit is contained in:
clime 2019-03-10 11:17:27 +01:00
parent 5334303117
commit 36db52de20
3 changed files with 8 additions and 2 deletions

View file

@ -0,0 +1,3 @@
#!/usr/bin/sh
runuser -c '/usr/share/copr/coprs_frontend/manage.py vacuum_graphs' - copr-fe

View file

@ -8,8 +8,11 @@
command: "restorecon -vvRF /var/lib/pgsql"
when: pgsql_ls.stdout is defined and 'postgresql_db_t' not in pgsql_ls.stdout
- name: install custom copr-frontend-crontab to make update_graphs silent
copy: src=copr-frontend dest=/etc/cron.daily/
- name: install daily custom copr-frontend-crontab
copy: src=cron.daily/copr-frontend dest=/etc/cron.daily/
- name: install hourly custom copr-frontend-crontab
copy: src=cron.hourly/copr-frontend dest=/etc/cron.hourly/
- name: install copr-frontend and copr-selinux
dnf: state=latest name={{ item }}