From dd9acb4f14d209bd2e57e38fef365b763776979d Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Mon, 22 Jul 2019 14:29:15 +0200 Subject: [PATCH] waiverdb: Enable sending notification on the bus in prod Signed-off-by: Pierre-Yves Chibon --- roles/openshift-apps/waiverdb/templates/settings.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/roles/openshift-apps/waiverdb/templates/settings.py b/roles/openshift-apps/waiverdb/templates/settings.py index ef6fab4c99..89d5019058 100644 --- a/roles/openshift-apps/waiverdb/templates/settings.py +++ b/roles/openshift-apps/waiverdb/templates/settings.py @@ -2,13 +2,12 @@ DATABASE_URI = 'postgresql+psycopg2://waiverdb@db01.stg.phx2.fedoraproject.org:5432/waiverdb' RESULTSDB_API_URL = 'https://taskotron.stg.fedoraproject.org/resultsdb_api/api/v2.0' CORS_URL = 'https://bodhi.stg.fedoraproject.org' -MESSAGE_BUS_PUBLISH = True {% else %} DATABASE_URI = 'postgresql+psycopg2://waiverdb@db01.phx2.fedoraproject.org:5432/waiverdb' RESULTSDB_API_URL = 'https://taskotron.fedoraproject.org/resultsdb_api/api/v2.0' CORS_URL = 'https://bodhi.fedoraproject.org' -MESSAGE_BUS_PUBLISH = False {% endif %} +MESSAGE_BUS_PUBLISH = True AUTH_METHOD = 'OIDC' OIDC_REQUIRED_SCOPE = 'https://waiverdb.fedoraproject.org/oidc/create-waiver' OIDC_CLIENT_SECRETS = '/etc/secret/client_secrets.json'