Configure the consolidated koji owner sync cronjob.

This commit is contained in:
Ralph Bean 2017-08-11 14:41:00 +00:00
parent 44b4d88d35
commit 8d46b46313

View file

@ -144,51 +144,29 @@
- bodhi
- cron
- name: sync packages from pagure-on-dist-git to koji (el6)
cron: name="owner-sync-el6" minute="7,17,27,37,47,57" user="root"
job="/usr/local/bin/lock-wrapper owner-sync-el6 '/usr/local/bin/owner-sync-pagure dist-6E-epel'"
cron_file=update-koji-owner-EL-6
- name: remove all old koji-sync cronjobs
file:
path: /etc/cron.d/{{item}}
state: absent
with_items:
- update-koji-owner-EL-6
- update-koji-owner-EL-6
- update-koji-owner-epel7
- update-koji-owner-fedora
- update-koji-owner-fedora-container
- update-koji-owner-modules
tags:
- bodhi
- cron
- name: sync packages from pagure-on-dist-git to koji (all branches)
cron: name="owner-sync" minute="7,17,27,37,47,57" user="root"
job="/usr/local/bin/lock-wrapper owner-sync '/usr/local/bin/owner-sync-pagure f27 f26 f25 f27-container f26-container f25-container epel7 dist-6E-epel module-package-list'"
when: inventory_hostname.startswith('bodhi-backend01') and env == "production"
tags:
- bodhi
- cron
- name: sync packages from pagure-on-dist-git to koji (epel7)
cron: name="owner-sync-epel7" minute="7,17,27,37,47,57" user="root"
job="/usr/local/bin/lock-wrapper owner-sync-epel7 '/usr/local/bin/owner-sync-pagure epel7'"
cron_file=update-koji-owner-epel7
when: inventory_hostname.startswith('bodhi-backend01') and env == "production"
tags:
- bodhi
- cron
- name: sync packages from pagure-on-dist-git to koji fedora
cron: name="owner-sync-fedora" minute="7,17,27,37,47,57" user="root"
job="/usr/local/bin/lock-wrapper owner-sync-fedora '/usr/local/bin/owner-sync-pagure f25;/usr/local/bin/owner-sync-pagure f26;/usr/local/bin/owner-sync-pagure f27'"
cron_file=update-koji-owner-fedora
when: inventory_hostname.startswith('bodhi-backend01') and env == "production"
tags:
- bodhi
- cron
- name: sync packages from pagure-on-dist-git to koji fedora (container)
cron: name="owner-sync-fedora-container" minute="7,17,27,37,47,57" user="root"
job="/usr/local/bin/lock-wrapper owner-sync-fedora-container '/usr/local/bin/owner-sync-pagure f25-container;/usr/local/bin/owner-sync-pagure f26-container;/usr/local/bin/owner-sync-pagure f27-container'"
cron_file=update-koji-owner-fedora-container
when: inventory_hostname.startswith('bodhi-backend01') and env == "production"
tags:
- bodhi
- cron
# See https://pagure.io/releng/issue/6663 and https://pagure.io/fm-orchestrator/issue/333
- name: sync packages from pagure-on-dist-git to koji fedora (modules)
cron: name="owner-sync-modules" minute="9,19,29,39,49,59" user="root"
job="/usr/local/bin/lock-wrapper owner-sync-modules '/usr/local/bin/owner-sync-pagure module-package-list'"
cron_file=update-koji-owner-modules
when: inventory_hostname.startswith('bodhi-backend01') and env == "production"
tags:
- bodhi
- cron
#
# cron job that syncs updates to master mirror
#