From: Jo-Philipp Wich Date: Tue, 16 Jul 2019 17:18:08 +0000 (+0200) Subject: phase1: enable shared work directory by default X-Git-Tag: v1~80 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=daf51fb8b1c715c9b45c25ea2eca0d6b054906ae;p=buildbot.git phase1: enable shared work directory by default Enable work directory sharing for any slave having a concurrent build limit of one job. Signed-off-by: Jo-Philipp Wich --- diff --git a/phase1/master.cfg b/phase1/master.cfg index cd951e0..46e1a72 100644 --- a/phase1/master.cfg +++ b/phase1/master.cfg @@ -62,6 +62,8 @@ for section in ini.sections(): if ini.has_option(section, "builds"): max_builds = ini.getint(section, "builds") sl_props['max_builds'] = max_builds + if max_builds == 1: + sl_props['shared_wd'] = True if ini.has_option(section, "cleanup"): sl_props['do_cleanup'] = ini.getboolean(section, "cleanup") if ini.has_option(section, "dl_lock"):