Enable dist-repo-regen cron in prod (#7246)
This commit is contained in:
parent
735d10275c
commit
d1e9c23c2f
2 changed files with 5 additions and 5 deletions
|
@ -73,7 +73,7 @@ for koji_env in config['tag2distrepo.tags'].keys():
|
|||
}
|
||||
|
||||
keys = koji_config['tags'][tag_info['name']]
|
||||
koji_session.distRepo(tag_info['id'], keys, **opts)
|
||||
koji_session.distRepo(tag_info['name'], keys, **opts)
|
||||
task_ids = koji_session.multiCall(strict=True)
|
||||
|
||||
for [tag_info], [task_id] in zip(tag_infos, task_ids):
|
||||
|
|
|
@ -447,7 +447,7 @@
|
|||
mode: 0755
|
||||
owner: apache
|
||||
group: apache
|
||||
when: inventory_hostname.startswith('bodhi-backend01.stg')
|
||||
when: inventory_hostname.startswith('bodhi-backend02') or inventory_hostname.startswith('bodhi-backend01.stg')
|
||||
tags:
|
||||
- bodhi
|
||||
|
||||
|
@ -457,8 +457,8 @@
|
|||
name: dist-repo-regen
|
||||
job: /usr/local/bin/dist-repo-regen.py
|
||||
user: apache
|
||||
minute: 21
|
||||
when: inventory_hostname.startswith('bodhi-backend01.stg')
|
||||
minute: 42
|
||||
when: inventory_hostname.startswith('bodhi-backend02') or inventory_hostname.startswith('bodhi-backend01.stg')
|
||||
tags:
|
||||
- bodhi
|
||||
- cron
|
||||
|
@ -470,7 +470,7 @@
|
|||
value: mizdebsk
|
||||
env: yes
|
||||
user: apache
|
||||
when: inventory_hostname.startswith('bodhi-backend01.stg')
|
||||
when: inventory_hostname.startswith('bodhi-backend02') or inventory_hostname.startswith('bodhi-backend01.stg')
|
||||
tags:
|
||||
- bodhi
|
||||
- cron
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue