Add generic fedmsg config for bugzilla2fedmsg.
This commit is contained in:
parent
7bbe3e048c
commit
e4c35eb494
3 changed files with 18 additions and 0 deletions
|
@ -42,6 +42,7 @@
|
|||
- endpoints-summershum.py
|
||||
- endpoints-kerneltest.py
|
||||
- endpoints-github2fedmsg.py
|
||||
- endpoints-bugzilla2fedmsg.py
|
||||
- relay.py
|
||||
- pkgdb.py
|
||||
- logging.py
|
||||
|
|
13
roles/fedmsg/base/templates/endpoints-bugzilla2fedmsg.py.j2
Normal file
13
roles/fedmsg/base/templates/endpoints-bugzilla2fedmsg.py.j2
Normal 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,
|
||||
],
|
||||
},
|
||||
)
|
|
@ -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)
|
||||
] + [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue