mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-07-17 04:00:25 +08:00
Add generic fedmsg config for bugzilla2fedmsg.
This commit is contained in:
@@ -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)
|
||||
] + [
|
||||
|
||||
Reference in New Issue
Block a user