koji-hub: Configure rpmautospec in staging
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
bd45868350
commit
164952d19b
3 changed files with 32 additions and 0 deletions
|
@ -146,6 +146,29 @@
|
||||||
- koji_hub
|
- koji_hub
|
||||||
- fedora-messaging
|
- fedora-messaging
|
||||||
|
|
||||||
|
#
|
||||||
|
# rpmautospec plugin
|
||||||
|
#
|
||||||
|
|
||||||
|
- name: install koji hub rpmautospec plugin
|
||||||
|
package: name={{ item }} state=present
|
||||||
|
with_items:
|
||||||
|
- koji-hub-plugin-rpmautospec
|
||||||
|
when: env == 'staging'
|
||||||
|
tags:
|
||||||
|
- packages
|
||||||
|
- koji_hub
|
||||||
|
- rpmautospec
|
||||||
|
|
||||||
|
- name: install the configuration file for rpmautospec
|
||||||
|
template:
|
||||||
|
src=rpmautospec_hub.conf
|
||||||
|
dest=/etc/koji-hub/plugins/rpmautospec_hub.conf
|
||||||
|
when: env == 'staging'
|
||||||
|
tags:
|
||||||
|
- koji_hub
|
||||||
|
- rpmautospec
|
||||||
|
|
||||||
#
|
#
|
||||||
# install keytabs
|
# install keytabs
|
||||||
#
|
#
|
||||||
|
|
|
@ -77,7 +77,11 @@ DisableNotifications = True
|
||||||
|
|
||||||
#Plugins = koji-disable-builds-plugin
|
#Plugins = koji-disable-builds-plugin
|
||||||
#Plugins = darkserver-plugin
|
#Plugins = darkserver-plugin
|
||||||
|
{% if env == 'staging' %}
|
||||||
|
Plugins = fedmsg-koji-plugin runroot_hub hub_containerbuild tag2distrepo sidetag_hub rpmautospec_hub
|
||||||
|
{% else %}
|
||||||
Plugins = fedmsg-koji-plugin runroot_hub hub_containerbuild tag2distrepo sidetag_hub
|
Plugins = fedmsg-koji-plugin runroot_hub hub_containerbuild tag2distrepo sidetag_hub
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
[policy]
|
[policy]
|
||||||
|
|
||||||
|
|
5
roles/koji_hub/templates/rpmautospec_hub.conf
Normal file
5
roles/koji_hub/templates/rpmautospec_hub.conf
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
[pagure]
|
||||||
|
{% if env == 'staging' %}
|
||||||
|
url = https://src.stg.fedoraproject.org
|
||||||
|
token = {{ rpmautospec_pagure_token_stg }}
|
||||||
|
{% endif %}
|
Loading…
Add table
Add a link
Reference in a new issue