From d8a87146b036ce88c565acc2201c2e797cdb7e6e Mon Sep 17 00:00:00 2001 From: David Kirwan Date: Wed, 13 Nov 2024 09:52:19 +0000 Subject: [PATCH] firmitas: update configuration to handle inclusion of repo variable Signed-off-by: David Kirwan --- roles/openshift-apps/firmitas/templates/myconfig.py.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/openshift-apps/firmitas/templates/myconfig.py.j2 b/roles/openshift-apps/firmitas/templates/myconfig.py.j2 index f4f2422eed..d1e7711745 100644 --- a/roles/openshift-apps/firmitas/templates/myconfig.py.j2 +++ b/roles/openshift-apps/firmitas/templates/myconfig.py.j2 @@ -34,7 +34,7 @@ gitforge = "pagure" repoloca = "" # The name of the ticketing repository with namespace -reponame = "" +reponame = "{{ (env == 'staging')|ternary(firmitas_stg_pagure_host, firmitas_pagure_host) }}" # The username to masquerade as in order to create notification tickets username = "{{ (env == 'staging')|ternary(firmitas_stg_pagure_user, firmitas_pagure_user) }}"