bodhi: enable automated pushes all the time now
This converts the automated pushes cron template to just a simple file thats always enabled. Since new bodhi has a way to 'freeze' frozen releases, it won't push stable updates for any of those releases (but will push the rest). So, we can just leave it always enabled as long as we properly freeze/unfreeze releases. Since it's just a simple file now, move it to one and change it from a template. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
30ae8977c6
commit
02cdf363b4
3 changed files with 3 additions and 7 deletions
2
roles/bodhi2/backend/files/bodhi-automated-pushes.cron
Normal file
2
roles/bodhi2/backend/files/bodhi-automated-pushes.cron
Normal file
|
@ -0,0 +1,2 @@
|
|||
MAILTO=sysadmin-releng-members@fedoraproject.org
|
||||
14 00 * * * apache /usr/local/bin/bodhi-automated-pushes.py
|
|
@ -181,7 +181,7 @@
|
|||
- cron
|
||||
|
||||
- name: Set the bodhi-automated-pushes cron job
|
||||
template: src=bodhi-automated-pushes.cron.j2 dest=/etc/cron.d/bodhi-automated-pushes
|
||||
copy: src=bodhi-automated-pushes.cron dest=/etc/cron.d/bodhi-automated-pushes
|
||||
when: env == "production"
|
||||
tags:
|
||||
- config
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
MAILTO=sysadmin-releng-members@fedoraproject.org
|
||||
{% if RelEngFrozen %}
|
||||
{{ '#' }}14 00 * * * apache /usr/local/bin/bodhi-automated-pushes.py
|
||||
{% else %}
|
||||
14 00 * * * apache /usr/local/bin/bodhi-automated-pushes.py
|
||||
{% endif %}
|
Loading…
Add table
Add a link
Reference in a new issue