fixing logic for buildslave home dir in buildbot.tac file
This commit is contained in:
parent
769a8f67ff
commit
f6cb8f8dee
1 changed files with 2 additions and 2 deletions
|
@ -4,10 +4,10 @@ import os
|
||||||
from twisted.application import service
|
from twisted.application import service
|
||||||
from buildslave.bot import BuildSlave
|
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'
|
basedir = r'/home/buildslave/slave'
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if deployment_type == 'dev' %}
|
{% if deployment_type in ['prod', 'stg', 'dev'] %}
|
||||||
basedir = r'{{ item.dir }}'
|
basedir = r'{{ item.dir }}'
|
||||||
{% endif %}
|
{% endif %}
|
||||||
rotateLength = 10000000
|
rotateLength = 10000000
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue