make the fedmsg template even more complicated because it needs to have different datacenters defined in it

This commit is contained in:
Stephen Smoogen 2020-05-29 14:35:12 -04:00
parent 8e647497df
commit 5c33d3c903
12 changed files with 193 additions and 24 deletions

View file

@ -1,7 +1,24 @@
{% if datacenter == 'phx2' %}
{% if env == 'staging' %}
suffix = 'stg.phx2.fedoraproject.org'
{% else %}
suffix = 'phx2.fedoraproject.org'
vpn_suffix = 'vpn.fedoraproject.org'
{% endif %}
{% elif datacenter == 'iad2' %}
{% if env == 'staging' %}
suffix = 'stg.iad2.fedoraproject.org'
{% else %}
suffix = 'iad2.fedoraproject.org'
vpn_suffix = 'vpn.fedoraproject.org'
{% endif %}
{% else %}
{% if env == 'staging' %}
suffix = 'stg.fedoraproject.org'
{% else %}
suffix = 'fedoraproject.org'
vpn_suffix = 'vpn.fedoraproject.org'
{% endif %}
{% endif %}
config = dict(