Add generic fedmsg config for bugzilla2fedmsg.

This commit is contained in:
Ralph Bean 2014-06-23 20:22:01 +00:00
parent 7bbe3e048c
commit e4c35eb494
3 changed files with 18 additions and 0 deletions

View file

@ -42,6 +42,7 @@
- endpoints-summershum.py
- endpoints-kerneltest.py
- endpoints-github2fedmsg.py
- endpoints-bugzilla2fedmsg.py
- relay.py
- pkgdb.py
- logging.py

View file

@ -0,0 +1,13 @@
{% if env == 'staging' %}
suffix = 'stg.phx2.fedoraproject.org'
{% else %}
suffix = 'phx2.fedoraproject.org'
{% endif %}
config = dict(
endpoints={
"bugzilla2fedmsg.bugzilla2fedmsg01": [
"tcp://bugzilla2fedmsg01.%s:3000" % suffix,
],
},
)

View file

@ -25,6 +25,10 @@ config = dict(
certnames=dict(
[
("bugzilla2fedmsg.bugzilla2fedmsg01", "bugzilla2fedmsg-bugzilla2fedmsg01.%s" % suffix)
] + [
("shell.bugzilla2fedmsg01", "shell-bugzilla2fedmsg01.%s" % suffix)
] + [
("github2fedmsg.github2fedmsg0%i" % i, "github2fedmsg-github2fedmsg0%i.%s" % (i, suffix))
for i in range(1, 3)
] + [