From eac468a2b2cb7351a25250ed6fbd9a9396253ebd Mon Sep 17 00:00:00 2001 From: Tomas Hrnciar Date: Fri, 4 Oct 2019 11:21:32 +0200 Subject: [PATCH] adds URLs of Pagure instances for fedora-messaging Related to future feature: https://pagure.io/copr/copr/pull-request/1025 --- roles/copr/frontend/templates/copr.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/roles/copr/frontend/templates/copr.conf b/roles/copr/frontend/templates/copr.conf index 0c9ea85a76..476d4d0b62 100644 --- a/roles/copr/frontend/templates/copr.conf +++ b/roles/copr/frontend/templates/copr.conf @@ -79,3 +79,9 @@ WHITELIST_EMAILS = [ {% endfor %} ] {% endif %} + +{% if not devel %} +PAGURE_INSTANCES = ['io.pagure.prod.pagure', 'org.fedoraproject.prod.pagure'] +{% else %} +PAGURE_INSTANCES = ['io.pagure.prod.pagure', 'org.fedoraproject.prod.pagure', 'io.pagure.stg.pagure'] +{% endif %}