I dunno, just copy whatever I did for librariesio2fedmsg
This commit is contained in:
parent
dadcc2c88f
commit
7e72c96681
1 changed files with 3 additions and 3 deletions
|
@ -143,21 +143,21 @@ items:
|
|||
import socket
|
||||
config = {
|
||||
"active": True,
|
||||
"topic_prefix": "org.release-monitoring",
|
||||
"sign_messages": True,
|
||||
"validate_signatures": True,
|
||||
"crypto_backend": "x509",
|
||||
"ssldir": "/etc/pki/fedmsg/",
|
||||
"topic_prefix": "org.release-monitoring",
|
||||
"cert_prefix": "release-monitoring",
|
||||
"certnames": {"release-monitoring.{}".format(socket.gethostname()): "release-monitoring"},
|
||||
{% if env == 'staging' %}
|
||||
"environment": "stg",
|
||||
"relay_inbound": ["tcp://busgateway01.stg.phx2.fedoraproject.org:9941"],
|
||||
# Pointless because we don't listen for anything, but fedmsg explodes without it
|
||||
"endpoints": {"staging_gateway": ['tcp://stg.fedoraproject.org:9940']},
|
||||
"certnames": {"anitya.{}".format(socket.gethostname()): "release-monitoring.stg.release-monitoring.org"},
|
||||
{% else %}
|
||||
"environment": "prod",
|
||||
"relay_inbound": ["tcp://busgateway01.phx2.fedoraproject.org:9941"],
|
||||
"endpoints": {"production_gateway": ['tcp://fedoraproject.org:9940']},
|
||||
"certnames": {"anitya.{}".format(socket.gethostname()): "release-monitoring.release-monitoring.org"},
|
||||
{% endif %}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue