#1329 bodhi: enable automated pushes all the time now
Merged a year ago by kevin. Opened a year ago by kevin.

roles/bodhi2/backend/files/bodhi-automated-pushes.cron roles/bodhi2/backend/templates/bodhi-automated-pushes.cron.j2
file renamed
-4
@@ -1,6 +1,2 @@

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

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

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

+1 looks safe and shoudl work.

Pull-Request has been merged by kevin

a year ago