Bug 1338651: Change docker image home dir to /build. r=dustin,mshal a=hopefullyavoidingmergebustagelater

Using /home/worker is the build directory has a 30% talos performance
loss, because test machines has a /home mount directory.

MozReview-Commit-ID: zehcGJrUQX
This commit is contained in:
Wander Lairson Costa
2017-06-29 15:45:01 -07:00
parent d33ced5ba9
commit 484b2f6d33
65 changed files with 255 additions and 251 deletions

View File

@@ -32,7 +32,7 @@ def setup_task(config, tasks):
'type': 'persistent',
'name': 'level-{}-{}-tc-vcs'.format(
config.params['level'], config.params['project']),
'mount-point': "/home/worker/.tc-vcs",
'mount-point': "/builds/worker/.tc-vcs",
})
if int(config.params['level']) > 1:
@@ -40,7 +40,7 @@ def setup_task(config, tasks):
'type': 'persistent',
'name': 'level-{}-{}-build-{}-workspace'.format(
config.params['level'], config.params['project'], task['name']),
'mount-point': "/home/worker/workspace",
'mount-point': "/builds/worker/workspace",
})
# Need appropriate scopes for secrets, from the 'build' section