Customize Koschei bug report template

This commit is contained in:
Mikolaj Izdebski 2015-05-12 12:17:28 +00:00
parent 942e1074ba
commit d28f959a50
4 changed files with 30 additions and 0 deletions

View file

@ -7,12 +7,14 @@ num_cpus: 4
# for systems that do not match the above - specify the same parameter in
# the host_vars/$hostname file
koschei_topurl: https://apps.fedoraproject.org/koschei
koschei_pgsql_hostname: FIXME
koschei_koji_hub: koji02.phx2.fedoraproject.org
koschei_kojipkgs: kojipkgs01.phx2.fedoraproject.org
koschei_koji_web: koji.fedoraproject.org
koschei_koji_tag: f23
koschei_openid_provider: id.fedoraproject.org
koschei_bugzilla: bugzilla.redhat.com
tcp_ports: [ 80, 443,

View file

@ -7,12 +7,15 @@ num_cpus: 2
# for systems that do not match the above - specify the same parameter in
# the host_vars/$hostname file
koschei_topurl: https://apps.stg.fedoraproject.org/koschei
koschei_pgsql_hostname: db01.stg.phx2.fedoraproject.org
koschei_koji_hub: koji01.stg.phx2.fedoraproject.org
koschei_kojipkgs: koji01.stg.phx2.fedoraproject.org
koschei_koji_web: koji.stg.fedoraproject.org
koschei_koji_tag: f23
koschei_openid_provider: id.stg.fedoraproject.org
koschei_bugzilla: partner-bugzilla.redhat.com
tcp_ports: [ 80, 443,
# These 9 are for fedmsg right now, but we need to check with the koschei

View file

@ -23,6 +23,7 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
vars:
- koschei_topurl: http://koschei.cloud.fedoraproject.org
- koschei_pgsql_hostname: localhost
- koscheiuser_db_password: "{{ koschei_pgsql_password }}"
- koscheiadmin_db_password: "{{ koschei_pgsql_password }}"
@ -31,6 +32,7 @@
- koschei_koji_web: koji.fedoraproject.org
- koschei_koji_tag: f23
- koschei_openid_provider: id.fedoraproject.org
- koschei_bugzilla: bugzilla.redhat.com
roles:
- koschei

View file

@ -111,6 +111,29 @@ config = {
"openid": {
"openid_provider": "{{ koschei_openid_provider }}",
},
"bugreport": {
"url": "https://{{ koschei_bugzilla }}/enter_bug.cgi?%s",
"template": {
"product": "Fedora",
"component": "{name}",
"version": "rawhide",
"short_desc": "{name}: FTBFS in rawhide",
"bug_file_loc": "{{ koschei_topurl }}/package/{name}",
"comment": """
Description of problem:
Package {name} fails to build from source in rawhide.
Version-Release number of selected component (if applicable):
{version}-{release}
Steps to Reproduce:
koji build --scratch {{ koschei_koji_tag }} {nvr}.{arch}.rpm
Additional info:
This package is tracked by Koschei. See:
{{ koschei_topurl }}/package/{name}"""
},
},
}
# Local Variables: