waiverdb: fix the url to postgresql in stg/prod
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
abdfb6e51d
commit
ebe4058bd0
1 changed files with 1 additions and 3 deletions
|
@ -1,11 +1,9 @@
|
|||
{% if env == 'staging' %}
|
||||
DATABASE_URI = 'postgresql+psycopg2://waiverdb@db01.stg.phx2.fedoraproject.org:5432/waiverdb'
|
||||
DATABASE_URI = 'postgresql+psycopg2://waiverdb@db01.stg.iad2.fedoraproject.org:5432/waiverdb'
|
||||
RESULTSDB_API_URL = 'https://taskotron.stg.fedoraproject.org/resultsdb_api/api/v2.0'
|
||||
CORS_URL = 'https://bodhi.stg.fedoraproject.org'
|
||||
{% else %}
|
||||
{% if datacenter == "iad2" %}
|
||||
DATABASE_URI = 'postgresql+psycopg2://waiverdb@db01.iad2.fedoraproject.org:5432/waiverdb'
|
||||
{% endif %}
|
||||
RESULTSDB_API_URL = 'https://taskotron.fedoraproject.org/resultsdb_api/api/v2.0'
|
||||
CORS_URL = 'https://bodhi.fedoraproject.org'
|
||||
{% endif %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue