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']]
|
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)
|
task_ids = koji_session.multiCall(strict=True)
|
||||||
|
|
||||||
for [tag_info], [task_id] in zip(tag_infos, task_ids):
|
for [tag_info], [task_id] in zip(tag_infos, task_ids):
|
||||||
|
|
|
@ -447,7 +447,7 @@
|
||||||
mode: 0755
|
mode: 0755
|
||||||
owner: apache
|
owner: apache
|
||||||
group: apache
|
group: apache
|
||||||
when: inventory_hostname.startswith('bodhi-backend01.stg')
|
when: inventory_hostname.startswith('bodhi-backend02') or inventory_hostname.startswith('bodhi-backend01.stg')
|
||||||
tags:
|
tags:
|
||||||
- bodhi
|
- bodhi
|
||||||
|
|
||||||
|
@ -457,8 +457,8 @@
|
||||||
name: dist-repo-regen
|
name: dist-repo-regen
|
||||||
job: /usr/local/bin/dist-repo-regen.py
|
job: /usr/local/bin/dist-repo-regen.py
|
||||||
user: apache
|
user: apache
|
||||||
minute: 21
|
minute: 42
|
||||||
when: inventory_hostname.startswith('bodhi-backend01.stg')
|
when: inventory_hostname.startswith('bodhi-backend02') or inventory_hostname.startswith('bodhi-backend01.stg')
|
||||||
tags:
|
tags:
|
||||||
- bodhi
|
- bodhi
|
||||||
- cron
|
- cron
|
||||||
|
@ -470,7 +470,7 @@
|
||||||
value: mizdebsk
|
value: mizdebsk
|
||||||
env: yes
|
env: yes
|
||||||
user: apache
|
user: apache
|
||||||
when: inventory_hostname.startswith('bodhi-backend01.stg')
|
when: inventory_hostname.startswith('bodhi-backend02') or inventory_hostname.startswith('bodhi-backend01.stg')
|
||||||
tags:
|
tags:
|
||||||
- bodhi
|
- bodhi
|
||||||
- cron
|
- cron
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue