adding dev/stg/prod configs for buildmaster user
This commit is contained in:
parent
38b2a5fc75
commit
4a37544c3f
1 changed files with 6 additions and 1 deletions
|
@ -194,7 +194,12 @@ authz_cfg=authz.Authz(
|
|||
{% if deployment_type == 'dev' %}
|
||||
auth=auth.BasicAuth([("{{ dev_buildbot_user }}","{{ dev_buildbot_password }}")]),
|
||||
{% endif %}
|
||||
#auth=auth.BasicAuth([("{{ buildbot_user }}","{{ buildbot_pw }}")]),
|
||||
{% if deployment_type == 'stg' %}
|
||||
auth=auth.BasicAuth([("{{ stg_buildbot_user }}","{{ stg_buildbot_password }}")]),
|
||||
{% endif %}
|
||||
{% if deployment_type == 'prod' %}
|
||||
auth=auth.BasicAuth([("{{ prod_buildbot_user }}","{{ prod_buildbot_password }}")]),
|
||||
{% endif %}
|
||||
gracefulShutdown = False,
|
||||
forceBuild = 'auth', # use this to test your slave once it is set up
|
||||
forceAllBuilds = False,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue