Fix deployment_type

This commit is contained in:
Martin Krizek 2014-08-18 14:20:21 +00:00
parent 881f4e3cda
commit 1db414cc9d

View file

@ -178,10 +178,10 @@ from buildbot.status.web import authz, auth
authz_cfg=authz.Authz(
# change any of these to True to enable; see the manual for more
# options
{% if deployment_type == 'stg' %}
{% if deployment_type == 'qadevel-stg' %}
auth=auth.BasicAuth([("{{ qadevel_stg_buildbot_master_user }}","{{ qadevel_stg_buildbot_master_password }}")]),
{% endif %}
{% if deployment_type == 'prod' %}
{% if deployment_type == 'qadevel-prod' %}
auth=auth.BasicAuth([("{{ qadevel_prod_buildbot_master_user }}","{{ qadevel_prod_buildbot_master_password }}")]),
{% endif %}
gracefulShutdown = False,