From c15434b4ca9d482d645339a1e3c29859e4c72e59 Mon Sep 17 00:00:00 2001 From: David Gay Date: Sat, 6 Dec 2014 21:17:27 +0000 Subject: [PATCH] Revert "never use stg koji for fedimg since there are no createImage builds in koji" This reverts commit e069f333fb7a5a908361d3cde55f2341a2f7b03a. --- roles/fedimg/templates/fedimg.cfg | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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}}