Add endpoints

This commit is contained in:
Michal Konečný 2018-11-27 18:46:57 +01:00
parent 8009dc641f
commit 3de6cfb73f

View file

@ -157,11 +157,12 @@ items:
"ssldir": "/etc/pki/fedmsg/",
"cert_prefix": "release-monitoring",
"certnames": {"anitya.{}".format(socket.gethostname()): "release-monitoring"},
"endpoints": {},
{% if env == 'staging' %}
"endpoints": {"anitya.stg": "tcp://busgateway01.stg.phx2.fedoraproject.org:9940"},
"environment": "stg",
"relay_inbound": ["tcp://busgateway01.stg.phx2.fedoraproject.org:9941"],
{% else %}
"endpoints": {"anitya.prod": "tcp://busgateway01.phx2.fedoraproject.org:9940"},
"environment": "prod",
"relay_inbound": ["tcp://busgateway01.phx2.fedoraproject.org:9941"],
{% endif %}