From 25cd3cf02a64e47cfc2b73734d116d24baab832d Mon Sep 17 00:00:00 2001 From: Randy Barlow Date: Tue, 31 Jul 2018 18:35:16 +0000 Subject: [PATCH] Define koji_web_url on Bodhi staging. Signed-off-by: Randy Barlow --- roles/bodhi2/base/templates/production.ini.j2 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/roles/bodhi2/base/templates/production.ini.j2 b/roles/bodhi2/base/templates/production.ini.j2 index e5acd5a2e7..09ea0a1d82 100644 --- a/roles/bodhi2/base/templates/production.ini.j2 +++ b/roles/bodhi2/base/templates/production.ini.j2 @@ -379,6 +379,12 @@ dogpile.cache.expiration_time = 21600 # buildsystem = dev buildsystem = koji +# The base URL to Koji, used to construct HTML links to Koji builds in the web UI +# koji_web_url = https://koji.fedoraproject.org/koji/ +{% if env == 'staging' %} +koji_web_url = https://koji.stg.fedoraproject.org/koji/ +{% endif %} + # Koji's XML-RPC hub # koji_hub = https://koji.stg.fedoraproject.org/kojihub koji_hub = https://koji{{env_suffix}}.fedoraproject.org/kojihub