From cc0245c0ab10a52dac965fbb7ddc82bc407c4623 Mon Sep 17 00:00:00 2001 From: Chris Manchester Date: Fri, 13 Dec 2019 05:43:45 +0000 Subject: [PATCH] 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 --- taskcluster/taskgraph/transforms/job/run_task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taskcluster/taskgraph/transforms/job/run_task.py b/taskcluster/taskgraph/transforms/job/run_task.py index 25bf397b5e8e..9bd24a84a404 100644 --- a/taskcluster/taskgraph/transforms/job/run_task.py +++ b/taskcluster/taskgraph/transforms/job/run_task.py @@ -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']