tag2distrepo is now fully koji-based

Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
Patrick Uiterwijk 2019-05-29 10:58:27 +02:00
parent 8dbaa4908d
commit 743e75249c
3 changed files with 1 additions and 52 deletions

View file

@ -32,14 +32,6 @@
- packages
- bodhi
- name: install tag2distrepo on fedora bodhi backends
package: name=python3-tag2distrepo state=present
when: inventory_hostname.startswith('bodhi-backend01.stg')
tags:
- packages
- bodhi
- tag2distrepo
- name: install python3-ccolutils on fedora bodhi backends
package: name=python3-cccolutils state=present
tags:
@ -424,16 +416,6 @@
tags:
- bodhi
- name: Put in tag2distrepo config
template: >
src=tag2distrepo.py.j2
dest=/etc/fedmsg.d/tag2distrepo.py
when: inventory_hostname.startswith('bodhi-backend01.stg')
tags:
- config
- bodhi
- tag2distrepo
- name: Install dist-repo-regen.py
copy:
src: dist-repo-regen.py

View file

@ -1,33 +0,0 @@
config = {
{% if inventory_hostname.startswith('bodhi-backend02') %}
'tag2distrepo.enabled': True,
{% else %}
'tag2distrepo.enabled': False,
{% endif %}
'tag2distrepo.tags': {
'primary': {
'url': 'https://koji{{ env_suffix }}.fedoraproject.org/kojihub',
'authmethod': 'kerberos',
'principal': 'bodhi/bodhi{{ env_suffix }}.fedoraproject.org@{{ ipa_realm }}',
'keytab': '/etc/krb5.bodhi_bodhi{{ env_suffix }}.fedoraproject.org.keytab',
'options': {
'krb_rdns': False
},
'tags': {
'f29-infra': ['47dd8ef9'],
'f29-infra-stg': ['47dd8ef9'],
'f30-infra': ['47dd8ef9'],
'f30-infra-stg': ['47dd8ef9'],
'epel6-infra': ['47dd8ef9'],
'epel6-infra-stg': ['47dd8ef9'],
'epel7-infra': ['47dd8ef9'],
'epel7-infra-stg': ['47dd8ef9'],
'f29-coreos-continuous': [],
'f30-coreos-continuous': [],
'coreos-pool': ['cfc659b9'],
}
}
}
}

View file

@ -75,7 +75,7 @@ DisableNotifications = True
#Plugins = koji-disable-builds-plugin
#Plugins = darkserver-plugin
Plugins = fedmsg-koji-plugin runroot_hub hub_containerbuild {% if env == "staging" %}tag2distrepo{% endif %}
Plugins = fedmsg-koji-plugin runroot_hub hub_containerbuild tag2distrepo
[policy]