Set proper translate_paths for ODCS according to env.

This commit is contained in:
Jan Kaluža 2018-01-19 13:48:31 +00:00
parent 0433a955da
commit 357d6b69d1

View file

@ -87,7 +87,11 @@ skip_phases = [
"ostree"]
translate_paths = [
{%- if config.koji_profile == "odcs_stg" %}
('/mnt/koji/compose/', 'http://kojipkgs.stg.fedoraproject.org/compose/'),
{%- else %}
('/mnt/koji/compose/', 'http://kojipkgs.fedoraproject.org/compose/'),
{%- endif %}
]
koji_profile = '{{ config.koji_profile }}'