Bug 1557764 - comm-checkout should be under gecko-checkout. r=dustin
authorRob Lemley <rob@thunderbird.net>
Fri, 07 Jun 2019 16:22:05 +0000
changeset 477875 75f00ba2d1248bf9971c889bd7ca4fb318f7d4c7
parent 477874 0e0daa42cb20b50506319a74458983db0af5743c
child 477876 0635eeb2fad4f1bae96a51c85f8adddc11693e41
push id36125
push userapavel@mozilla.com
push dateFri, 07 Jun 2019 22:00:07 +0000
treeherdermozilla-central@d820bbb356aa [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdustin
bugs1557764
milestone69.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1557764 - comm-checkout should be under gecko-checkout. r=dustin This changes the --comm-checkout parameter to the run-task command to make sure c-c is checked out into a subdirectory of m-c. Differential Revision: https://phabricator.services.mozilla.com/D34182
taskcluster/taskgraph/transforms/job/run_task.py
--- a/taskcluster/taskgraph/transforms/job/run_task.py
+++ b/taskcluster/taskgraph/transforms/job/run_task.py
@@ -110,17 +110,18 @@ def docker_worker_run_task(config, job, 
             'skip-untrusted': True,
         })
 
     run_command = run['command']
     # dict is for the case of `{'task-reference': basestring}`.
     if isinstance(run_command, (basestring, dict)):
         run_command = ['bash', '-cx', run_command]
     if run['comm-checkout']:
-        command.append('--comm-checkout={workdir}/checkouts/gecko/comm'.format(**run))
+        command.append('--comm-checkout={}/comm'.format(
+            taskdesc['worker']['env']['GECKO_PATH']))
     command.append('--fetch-hgfingerprint')
     if run['run-as-root']:
         command.extend(('--user', 'root', '--group', 'root'))
     command.append('--')
     command.extend(run_command)
     worker['command'] = command