Make jinja and indentation agree.
This commit is contained in:
parent
b987509900
commit
69706675ea
1 changed files with 9 additions and 9 deletions
|
@ -78,19 +78,19 @@ class BaseConfiguration(object):
|
||||||
class ProdConfiguration(BaseConfiguration):
|
class ProdConfiguration(BaseConfiguration):
|
||||||
DEBUG = False # Don't turn this on.
|
DEBUG = False # Don't turn this on.
|
||||||
|
|
||||||
{% if env == 'staging' %}
|
{% if env == 'staging' %}
|
||||||
SECRET_KEY = '{{ mbs_stg_secret_key }}'
|
SECRET_KEY = '{{ mbs_stg_secret_key }}'
|
||||||
SQLALCHEMY_DATABASE_URI = 'postgresql://mbs:{{mbs_stg_db_password}}@db-mbs/mbs'
|
SQLALCHEMY_DATABASE_URI = 'postgresql://mbs:{{mbs_stg_db_password}}@db-mbs/mbs'
|
||||||
{% else %}
|
{% else %}
|
||||||
SECRET_KEY = '{{ mbs_prod_secret_key }}'
|
SECRET_KEY = '{{ mbs_prod_secret_key }}'
|
||||||
SQLALCHEMY_DATABASE_URI = 'postgresql://mbs:{{mbs_prod_db_password}}@db-mbs/mbs'
|
SQLALCHEMY_DATABASE_URI = 'postgresql://mbs:{{mbs_prod_db_password}}@db-mbs/mbs'
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if env == 'staging' %}
|
{% if env == 'staging' %}
|
||||||
KRB_PRINCIPAL = 'modularity@STG.FEDORAPROJECT.ORG'
|
KRB_PRINCIPAL = 'modularity@STG.FEDORAPROJECT.ORG'
|
||||||
{% else %}
|
{% else %}
|
||||||
KRB_PRINCIPAL = 'modularity@FEDORAPROJECT.ORG'
|
KRB_PRINCIPAL = 'modularity@FEDORAPROJECT.ORG'
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
KRB_KEYTAB = '/etc/krb5.mbs_mbs{{env_suffix}}.fedoraproject.org.keytab'
|
KRB_KEYTAB = '/etc/krb5.mbs_mbs{{env_suffix}}.fedoraproject.org.keytab'
|
||||||
KRB_CCACHE = '/var/cache/mbs-krb5cc'
|
KRB_CCACHE = '/var/cache/mbs-krb5cc'
|
||||||
|
@ -102,18 +102,18 @@ class ProdConfiguration(BaseConfiguration):
|
||||||
PDC_DEVELOP = False
|
PDC_DEVELOP = False
|
||||||
|
|
||||||
KOJI_CONFIG = path.join(confdir, 'koji.conf')
|
KOJI_CONFIG = path.join(confdir, 'koji.conf')
|
||||||
{% if env == 'staging' %}
|
{% if env == 'staging' %}
|
||||||
KOJI_PROFILE = 'staging'
|
KOJI_PROFILE = 'staging'
|
||||||
KOJI_ARCHES = ['x86_64']
|
KOJI_ARCHES = ['x86_64']
|
||||||
KOJI_REPOSITORY_URL = 'http://kojipkgs.stg.fedoraproject.org/repos'
|
KOJI_REPOSITORY_URL = 'http://kojipkgs.stg.fedoraproject.org/repos'
|
||||||
MESSAGING_TOPIC_PREFIX = ['org.fedoraproject.stg']
|
MESSAGING_TOPIC_PREFIX = ['org.fedoraproject.stg']
|
||||||
PDC_URL = 'https://pdc.stg.fedoraproject.org/rest_api/v1'
|
PDC_URL = 'https://pdc.stg.fedoraproject.org/rest_api/v1'
|
||||||
SCMURLS = ["git://pkgs.stg.fedoraproject.org/modules/"]
|
SCMURLS = ["git://pkgs.stg.fedoraproject.org/modules/"]
|
||||||
{% else %}
|
{% else %}
|
||||||
KOJI_PROFILE = 'production'
|
KOJI_PROFILE = 'production'
|
||||||
KOJI_ARCHES = ['aarch64', 'armv7hl', 'i686', 'ppc64', 'ppc64le', 'x86_64']
|
KOJI_ARCHES = ['aarch64', 'armv7hl', 'i686', 'ppc64', 'ppc64le', 'x86_64']
|
||||||
KOJI_REPOSITORY_URL = 'http://kojipkgs.fedoraproject.org/repos'
|
KOJI_REPOSITORY_URL = 'http://kojipkgs.fedoraproject.org/repos'
|
||||||
MESSAGING_TOPIC_PREFIX = ['org.fedoraproject.prod']
|
MESSAGING_TOPIC_PREFIX = ['org.fedoraproject.prod']
|
||||||
PDC_URL = 'https://pdc.fedoraproject.org/rest_api/v1'
|
PDC_URL = 'https://pdc.fedoraproject.org/rest_api/v1'
|
||||||
SCMURLS = ["git://pkgs.fedoraproject.org/modules/"]
|
SCMURLS = ["git://pkgs.fedoraproject.org/modules/"]
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue