kojihub staging: use the new fm plugin and schemas
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
This commit is contained in:
parent
29dcdd6ce5
commit
a91b34f9b9
2 changed files with 21 additions and 3 deletions
|
@ -158,7 +158,7 @@
|
|||
- koji_hub
|
||||
- fedora-messaging
|
||||
|
||||
# Since we're in freeze we'll have different plugins in prod and stg
|
||||
# install the old version of the plugin on prod
|
||||
- name: koji fedora-messaging plugin - installed as fedmsg-koji-plugin
|
||||
template:
|
||||
src: fedmsg-koji-plugin.py
|
||||
|
@ -170,6 +170,21 @@
|
|||
- config
|
||||
- koji_hub
|
||||
- fedora-messaging
|
||||
when: env != 'staging'
|
||||
|
||||
# install the plugin with the rpm from infra repo on stg
|
||||
- name: install fedora-messaging schemas and plugin
|
||||
package: name={{ item }} state=present
|
||||
with_items:
|
||||
- koji-fedoramessaging
|
||||
- python3-koji-fedoramessaging-messages
|
||||
notify:
|
||||
- reload httpd
|
||||
tags:
|
||||
- packages
|
||||
- koji_hub
|
||||
- fedora-messaging
|
||||
when: ansible_distribution == "Fedora" and env == 'staging'
|
||||
|
||||
|
||||
- name: install the configuration file for the sidetag plugin
|
||||
|
|
|
@ -5,7 +5,7 @@ DBName = koji
|
|||
DBUser = koji
|
||||
{% if env == "staging" %}
|
||||
DBHost = db-koji01
|
||||
LogLevel = koji:INFO koji-fedmsg-plugin:INFO
|
||||
LogLevel = DEBUG
|
||||
LogFormat = %(asctime)s [%(levelname)s] m=%(method)s u=%(user_name)s p=%(process)s r=%(remoteaddr)s %(name)s: %(message)s
|
||||
DBPass = {{ kojiStgPassword }}
|
||||
{% else %}
|
||||
|
@ -85,8 +85,11 @@ MissingPolicyOk = False
|
|||
|
||||
#Plugins = koji-disable-builds-plugin
|
||||
#Plugins = darkserver-plugin
|
||||
{% if env == "staging" %}
|
||||
Plugins = osbuild koji-fedoramessaging runroot_hub hub_containerbuild tag2distrepo sidetag_hub save_failed_tree
|
||||
{% else %}
|
||||
Plugins = osbuild fedmsg-koji-plugin runroot_hub hub_containerbuild tag2distrepo sidetag_hub save_failed_tree
|
||||
|
||||
{% endif %}
|
||||
[policy]
|
||||
|
||||
tag =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue