From 25e41c0adcde1fce33b76dc918c080133f294dd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Kalu=C5=BEa?= Date: Fri, 5 Jan 2018 11:37:17 +0000 Subject: [PATCH] Prefix ODCS koji profiles with 'odcs_' --- roles/odcs/backend/templates/etc/koji.conf.d/odcs.conf.j2 | 4 ++-- roles/odcs/base/templates/etc/odcs/config.py.j2 | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/odcs/backend/templates/etc/koji.conf.d/odcs.conf.j2 b/roles/odcs/backend/templates/etc/koji.conf.d/odcs.conf.j2 index a2e2d27287..9e849a21dc 100644 --- a/roles/odcs/backend/templates/etc/koji.conf.d/odcs.conf.j2 +++ b/roles/odcs/backend/templates/etc/koji.conf.d/odcs.conf.j2 @@ -1,11 +1,11 @@ -[production] +[odcs_production] server = https://koji.fedoraproject.org/kojihub weburl = https://koji.fedoraproject.org/koji topurl = https://kojipkgs.fedoraproject.org/ authtype = kerberos krb_rdns = false -[stg] +[odcs_stg] server = https://koji.stg.fedoraproject.org/kojihub weburl = https://koji.stg.fedoraproject.org/koji topurl = https://kojipkgs.stg.fedoraproject.org/ diff --git a/roles/odcs/base/templates/etc/odcs/config.py.j2 b/roles/odcs/base/templates/etc/odcs/config.py.j2 index b13be1c631..51ce7fd0fd 100644 --- a/roles/odcs/base/templates/etc/odcs/config.py.j2 +++ b/roles/odcs/base/templates/etc/odcs/config.py.j2 @@ -72,7 +72,7 @@ class ProdConfiguration(BaseConfiguration): SQLALCHEMY_DATABASE_URI = 'postgresql+psycopg2://odcs:{{odcs_stg_db_password}}@db-odcs/odcs{{ '?sslmode=require' if odcs_force_postgres_ssl else '' }}' - KOJI_PROFILE = 'stg' + KOJI_PROFILE = 'odcs_stg' PDC_URL = 'https://pdc.stg.fedoraproject.org/rest_api/v1' @@ -84,7 +84,7 @@ class ProdConfiguration(BaseConfiguration): SQLALCHEMY_DATABASE_URI = 'postgresql+psycopg2://odcs:{{odcs_prod_db_password}}@db-odcs/odcs{{ '?sslmode=require' if odcs_force_postgres_ssl else '' }}' - KOJI_PROFILE = 'production' + KOJI_PROFILE = 'odcs_production' PDC_URL = 'https://pdc.fedoraproject.org/rest_api/v1'