From b69ee7da438503a2eb4ea1219d373ab1dd651400 Mon Sep 17 00:00:00 2001 From: Jakub Kadlcik Date: Tue, 29 Oct 2024 19:45:38 +0100 Subject: [PATCH] copr-frontend: configure Pulp content URL --- 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 84164c9897..286ef76979 100644 --- a/roles/copr/frontend/templates/copr.conf +++ b/roles/copr/frontend/templates/copr.conf @@ -251,3 +251,9 @@ USAGE_TREEMAP_TEAMS = { "Packit": ["packit", "packit-stg", "ttomecek"], "Python-team": ["@python", "thrnciar", "torsava", "encukou", "cstratak", "churchyard"], } + +{% if env == "production" %} +PULP_CONTENT_URL = "https://console.redhat.com/api/pulp-content/public-copr" +{% else %} +PULP_CONTENT_URL = "https://pulp.stage.devshift.net/api/pulp-content/copr" +{% endif %}