diff --git a/roles/fedimg/templates/fedimg.cfg b/roles/fedimg/templates/fedimg.cfg index 7a10a79c58..167904b557 100644 --- a/roles/fedimg/templates/fedimg.cfg +++ b/roles/fedimg/templates/fedimg.cfg @@ -3,9 +3,15 @@ clean_up_on_failure = {{clean_up_on_failure}} delete_images_on_failure = {{delete_images_on_failure}} [koji] +{% 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}}