From f6cb8f8dee419bacf38b6c721e482712eb8fa9de Mon Sep 17 00:00:00 2001 From: Tim Flink Date: Tue, 26 Jan 2016 19:50:02 +0000 Subject: [PATCH] fixing logic for buildslave home dir in buildbot.tac file --- .../taskotron/buildslave-configure/templates/buildbot.tac.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/taskotron/buildslave-configure/templates/buildbot.tac.j2 b/roles/taskotron/buildslave-configure/templates/buildbot.tac.j2 index 6c90560310..ca2d81bc1b 100644 --- a/roles/taskotron/buildslave-configure/templates/buildbot.tac.j2 +++ b/roles/taskotron/buildslave-configure/templates/buildbot.tac.j2 @@ -4,10 +4,10 @@ import os from twisted.application import service from buildslave.bot import BuildSlave -{% if deployment_type in ['prod', 'stg', 'local', 'qa-stg'] %} +{% if deployment_type in ['local', 'qa-stg'] %} basedir = r'/home/buildslave/slave' {% endif %} -{% if deployment_type == 'dev' %} +{% if deployment_type in ['prod', 'stg', 'dev'] %} basedir = r'{{ item.dir }}' {% endif %} rotateLength = 10000000