Enable Koschei Copr plugin in staging

This commit is contained in:
Mikolaj Izdebski 2017-04-26 16:19:00 +00:00
parent 499ff86b9f
commit a3b31b0676
4 changed files with 21 additions and 0 deletions

View file

@ -4,6 +4,7 @@
- koschei-admin
- koschei-backend
- koschei-backend-fedora
- koschei-backend-copr
- postgresql
tags:
- koschei
@ -62,6 +63,8 @@
- config
- fedmsgdconfig
# TODO install copr config, /etc/koschei/copr-config
- name: install koji client config file
template: >
src="koji.conf.j2"

View file

@ -83,7 +83,11 @@ config = {
},
},
},
{% if env == 'staging' %}
"plugins": ['pkgdb', 'fedmsg', 'copr'],
{% else %}
"plugins": ['pkgdb', 'fedmsg'],
{% endif %}
"fedmsg": {
{% if env == 'staging' %}
"topic": "org.fedoraproject.stg.buildsys",
@ -127,6 +131,15 @@ config = {
{% endif %}
"sync_tracked": True,
},
"copr": {
"require_admin": True,
"copr_owner": "mizdebsk",
"config_path": "/etc/koschei/copr-config",
"chroot_name": "custom-1-x86_64",
"max_builds": 15,
"default_schedule_count": 8,
"fedmsg_topic": "org.fedoraproject.prod.copr.build.end",
},
}
# Local Variables:

View file

@ -3,6 +3,7 @@
with_items:
- koschei-frontend
- koschei-frontend-fedora
- koschei-frontend-copr
- mod_auth_openid
tags:
- koschei

View file

@ -38,7 +38,11 @@ config = {
},
},
},
{% if env == 'staging' %}
"plugins": ['pkgdb', 'copr'],
{% else %}
"plugins": ['pkgdb'],
{% endif %}
"caching": {
"plugin": {
"pkgdb": {