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
|
import socket
|
||||||
config = {
|
config = {
|
||||||
"active": True,
|
"active": True,
|
||||||
|
"topic_prefix": "org.release-monitoring",
|
||||||
"sign_messages": True,
|
"sign_messages": True,
|
||||||
"validate_signatures": True,
|
"validate_signatures": True,
|
||||||
"crypto_backend": "x509",
|
"crypto_backend": "x509",
|
||||||
"ssldir": "/etc/pki/fedmsg/",
|
"ssldir": "/etc/pki/fedmsg/",
|
||||||
"topic_prefix": "org.release-monitoring",
|
"cert_prefix": "release-monitoring",
|
||||||
|
"certnames": {"release-monitoring.{}".format(socket.gethostname()): "release-monitoring"},
|
||||||
{% if env == 'staging' %}
|
{% if env == 'staging' %}
|
||||||
"environment": "stg",
|
"environment": "stg",
|
||||||
"relay_inbound": ["tcp://busgateway01.stg.phx2.fedoraproject.org:9941"],
|
"relay_inbound": ["tcp://busgateway01.stg.phx2.fedoraproject.org:9941"],
|
||||||
# Pointless because we don't listen for anything, but fedmsg explodes without it
|
# Pointless because we don't listen for anything, but fedmsg explodes without it
|
||||||
"endpoints": {"staging_gateway": ['tcp://stg.fedoraproject.org:9940']},
|
"endpoints": {"staging_gateway": ['tcp://stg.fedoraproject.org:9940']},
|
||||||
"certnames": {"anitya.{}".format(socket.gethostname()): "release-monitoring.stg.release-monitoring.org"},
|
|
||||||
{% else %}
|
{% else %}
|
||||||
"environment": "prod",
|
"environment": "prod",
|
||||||
"relay_inbound": ["tcp://busgateway01.phx2.fedoraproject.org:9941"],
|
"relay_inbound": ["tcp://busgateway01.phx2.fedoraproject.org:9941"],
|
||||||
"endpoints": {"production_gateway": ['tcp://fedoraproject.org:9940']},
|
"endpoints": {"production_gateway": ['tcp://fedoraproject.org:9940']},
|
||||||
"certnames": {"anitya.{}".format(socket.gethostname()): "release-monitoring.release-monitoring.org"},
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue