koschei: Make use of fedmsg_env variable

This commit is contained in:
Mikolaj Izdebski 2020-02-25 18:02:08 +01:00 committed by Pierre-Yves Chibon
parent efb8a3a662
commit d3548b20c7

View file

@ -90,11 +90,7 @@ config = {
},
"plugins": ['fedmsg'],
"fedmsg": {
{% if env == 'staging' %}
"topic": "org.fedoraproject.stg.buildsys",
{% else %}
"topic": "org.fedoraproject.prod.buildsys",
{% endif %}
"topic": "org.fedoraproject.{{ fedmsg_env }}.buildsys",
},
"fedmsg-publisher": {
"enabled": True,