Allow overriding rebuild_strategy in MBS in prod

This commit is contained in:
mprahl 2017-11-03 15:10:55 +00:00
parent 7ccec4476e
commit 381bd1b389

View file

@ -96,10 +96,11 @@ class ProdConfiguration(BaseConfiguration):
'releng',
]
REBUILD_STRATEGY_ALLOW_OVERRIDE = True
{% if env == 'staging' %}
SECRET_KEY = '{{ mbs_stg_secret_key }}'
SQLALCHEMY_DATABASE_URI = 'postgresql://mbs:{{mbs_stg_db_password}}@db-mbs/mbs'
REBUILD_STRATEGY_ALLOW_OVERRIDE = True
{% else %}
SECRET_KEY = '{{ mbs_prod_secret_key }}'
SQLALCHEMY_DATABASE_URI = 'postgresql://mbs:{{mbs_prod_db_password}}@db-mbs/mbs'