diff --git a/roles/fedimg/templates/fedimg.cfg b/roles/fedimg/templates/fedimg.cfg index 4b00da2154..1eac037f91 100644 --- a/roles/fedimg/templates/fedimg.cfg +++ b/roles/fedimg/templates/fedimg.cfg @@ -3,10 +3,15 @@ clean_up_on_failure = {{clean_up_on_failure}} delete_image_on_failure = {{delete_image_on_failure}} [koji] -# Use prod Koji all the time since there are no createImage builds in stg +{% if env == 'staging' %} +server = https://koji.stg.fedoraproject.org/kojihub +# The two adjacent slashes in the below URL are _not_ a typo. +base_task_url = https://kojipkgs.stg.fedoraproject.org//work/tasks +{% else %} server = https://koji.fedoraproject.org/kojihub # The two adjacent slashes in the below URL are _not_ a typo. base_task_url = https://kojipkgs.fedoraproject.org//work/tasks +{% endif %} [aws] util_username = {{aws_util_username}}