Make PDC URL available to pagure

Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
Patrick Uiterwijk 2018-11-21 11:52:07 +01:00
parent 85bd191653
commit 66802257fa
2 changed files with 2 additions and 2 deletions

View file

@ -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 %}

View file

@ -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