summaryrefslogtreecommitdiffstats
path: root/taskcluster/gecko_taskgraph/transforms/condprof.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:50 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:50 +0000
commitdef92d1b8e9d373e2f6f27c366d578d97d8960c6 (patch)
tree2ef34b9ad8bb9a9220e05d60352558b15f513894 /taskcluster/gecko_taskgraph/transforms/condprof.py
parentAdding debian version 125.0.3-1. (diff)
downloadfirefox-def92d1b8e9d373e2f6f27c366d578d97d8960c6.tar.xz
firefox-def92d1b8e9d373e2f6f27c366d578d97d8960c6.zip
Merging upstream version 126.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'taskcluster/gecko_taskgraph/transforms/condprof.py')
-rw-r--r--taskcluster/gecko_taskgraph/transforms/condprof.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/taskcluster/gecko_taskgraph/transforms/condprof.py b/taskcluster/gecko_taskgraph/transforms/condprof.py
index 516c1d8f20..f39a9b09ab 100644
--- a/taskcluster/gecko_taskgraph/transforms/condprof.py
+++ b/taskcluster/gecko_taskgraph/transforms/condprof.py
@@ -28,7 +28,7 @@ diff_description_schema = Schema(
Optional("run-on-projects"): task_description_schema["run-on-projects"],
Optional("scopes"): task_description_schema["scopes"],
Optional("treeherder"): task_description_schema["treeherder"],
- Optional("use-system-python"): bool,
+ Optional("use-python"): job_description_schema["use-python"],
Optional("worker"): job_description_schema["worker"],
Optional("worker-type"): task_description_schema["worker-type"],
}
@@ -84,8 +84,8 @@ def generate_scenarios(config, tasks):
"fetches": copy_task(task["fetches"]),
}
- use_system_python = task.get("use-system-python", None)
- if use_system_python is not None:
- taskdesc["use-system-python"] = use_system_python
+ use_taskcluster_python = task.get("use-python", "system")
+ if use_taskcluster_python != "system":
+ taskdesc["use-python"] = use_taskcluster_python
yield taskdesc