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:
Kevin Fenzi 2023-02-22 09:20:17 -08:00
parent 30ae8977c6
commit 02cdf363b4
3 changed files with 3 additions and 7 deletions

View file

@ -0,0 +1,2 @@
MAILTO=sysadmin-releng-members@fedoraproject.org
14 00 * * * apache /usr/local/bin/bodhi-automated-pushes.py

View file

@ -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

View file

@ -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 %}