Bug 1528374 - Find python3 correctly for 1014-pgo workers. r=tomprince

Differential Revision: https://phabricator.services.mozilla.com/D56833

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Chris Manchester 2019-12-13 05:43:45 +00:00
parent 6cc7d00fcc
commit cc0245c0ab

View File

@ -163,7 +163,7 @@ def generic_worker_run_task(config, job, taskdesc):
command = ['C:/mozilla-build/python3/python3.exe', 'run-task']
elif is_mac:
command = ['/tools/python37/bin/python3.7', 'run-task']
if job['worker-type'].endswith('1014'):
if job['worker-type'].endswith(('1014', '1014-pgo')):
command = ['/usr/local/bin/python3', 'run-task']
else:
command = ['./run-task']