waiverdb: move to ocp4 in staging

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2022-06-15 15:04:22 -07:00
parent 7105387724
commit 8f58783578
4 changed files with 4 additions and 4 deletions

View file

@ -27,7 +27,7 @@
- name: make the app be real
hosts: os_masters[0]:os_masters_stg[0]
hosts: os_masters[0]:os_control_stg[0]
user: root
gather_facts: False

View file

@ -1,6 +1,6 @@
{% if env == 'staging' %}
{"web": {
"redirect_uris": ["https://waiverdb-waiverdb.app.os.stg.fedoraproject.org/"],
"redirect_uris": ["https://waiverdb-waiverdb.apps.ocp.stg.fedoraproject.org/"],
"token_uri": "https://id.stg.fedoraproject.org/openidc/Token",
"auth_uri": "https://id.stg.fedoraproject.org/openidc/Authorization",
"client_id": "waiverdb-stg",

View file

@ -14,7 +14,7 @@ stringData:
{% endif %}
client_secrets.json: |-
{"web": {
"redirect_uris": ["https://waiverdb-waiverdb.app.os{{env_suffix}}fedoraproject.org/"],
"redirect_uris": ["https://waiverdb-waiverdb.apps.ocp{{env_suffix}}fedoraproject.org/"],
"token_uri": "https://id{{ env_suffix }}.fedoraproject.org/openidc/Token",
"auth_uri": "https://id{{ env_suffix }}.fedoraproject.org/openidc/Authorization",
{% if env == 'staging' %}

View file

@ -1,6 +1,6 @@
{% if env == 'staging' %}
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'
RESULTSDB_API_URL = 'https://resultsdb.stg.fedoraproject.org/api/v2.0'
CORS_URL = 'https://bodhi.stg.fedoraproject.org'
{% else %}
DATABASE_URI = 'postgresql+psycopg2://waiverdb@db01.iad2.fedoraproject.org:5432/waiverdb'