From 4a37544c3fe6b5d6c36f7ef97c1c6b68ddd6df6c Mon Sep 17 00:00:00 2001 From: Tim Flink Date: Mon, 14 Jul 2014 13:17:34 +0000 Subject: [PATCH] adding dev/stg/prod configs for buildmaster user --- .../templates/taskotron.master.cfg.j2 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/roles/taskotron/buildmaster-configure/templates/taskotron.master.cfg.j2 b/roles/taskotron/buildmaster-configure/templates/taskotron.master.cfg.j2 index 400bef99b7..50d80220de 100644 --- a/roles/taskotron/buildmaster-configure/templates/taskotron.master.cfg.j2 +++ b/roles/taskotron/buildmaster-configure/templates/taskotron.master.cfg.j2 @@ -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,