diff --git a/roles/distgit/pagure/templates/pagure.cfg b/roles/distgit/pagure/templates/pagure.cfg index 8a8ab5adf6..7a910c982b 100644 --- a/roles/distgit/pagure/templates/pagure.cfg +++ b/roles/distgit/pagure/templates/pagure.cfg @@ -245,12 +245,10 @@ REQUIRED_GROUPS = { } {% if env == 'staging' %} -PDC_URL = 'https://pdc.stg.fedoraproject.org/rest_api/v1/' RESULTSDB_URL = 'https://taskotron.stg.fedoraproject.org/resultsdb_api/' FAS_URL = 'https://admin.stg.fedoraproject.org/accounts' FAS_OPENID_ENDPOINT = 'https://id.stg.fedoraproject.org/openid/' {% else %} -PDC_URL = 'https://pdc.fedoraproject.org/rest_api/v1/' RESULTSDB_URL = 'https://taskotron.fedoraproject.org/resultsdb_api/' FAS_URL = 'https://admin.fedoraproject.org/accounts' {% endif %} diff --git a/roles/distgit/pagure/templates/pagure_shared.cfg b/roles/distgit/pagure/templates/pagure_shared.cfg index 48c181d704..862a93ef68 100644 --- a/roles/distgit/pagure/templates/pagure_shared.cfg +++ b/roles/distgit/pagure/templates/pagure_shared.cfg @@ -78,6 +78,8 @@ UNSPECIFIED_BLACKLIST_RES = ['refs/heads/f[0-9]+', ALLOW_HTTP_PUSH = True +PDC_URL = 'https://pdc{{ env_suffix }}.fedoraproject.org/rest_api/v1/' + {% if env == "staging" %} ACL_DEBUG = True