mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 01:05:45 +00:00
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:
parent
6cc7d00fcc
commit
cc0245c0ab
@ -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']
|
||||
|
Loading…
Reference in New Issue
Block a user