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'