зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1843026 - Use taskcluster-built python for condprof task r=glandium,taskgraph-reviewers,ahal
Re applied now that taskcluster-built python works on OSX. Differential Revision: https://phabricator.services.mozilla.com/D183367
This commit is contained in:
Родитель
3e46140432
Коммит
25cadcdd11
|
@ -29,6 +29,7 @@ job-defaults:
|
|||
worker:
|
||||
taskcluster-proxy: true
|
||||
max-run-time: 10800
|
||||
use-system-python: false
|
||||
jobs:
|
||||
windows2012-64-firefox:
|
||||
worker-type: b-win2022
|
||||
|
@ -87,8 +88,8 @@ jobs:
|
|||
- linux64-geckodriver
|
||||
run:
|
||||
command: >-
|
||||
python3.7 -m venv . &&
|
||||
bin/python3.7 condprof/main.py
|
||||
python3 -m venv . &&
|
||||
bin/python3 condprof/main.py
|
||||
${EXTRA_ARGS}
|
||||
--geckodriver ${MOZ_FETCHES_DIR}/geckodriver
|
||||
--firefox ${MOZ_FETCHES_DIR}/firefox/firefox-bin
|
||||
|
|
|
@ -28,6 +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("worker"): job_description_schema["worker"],
|
||||
Optional("worker-type"): task_description_schema["worker-type"],
|
||||
}
|
||||
|
@ -82,4 +83,9 @@ def generate_scenarios(config, tasks):
|
|||
"dependencies": copy_task(task["dependencies"]),
|
||||
"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
|
||||
|
||||
yield taskdesc
|
||||
|
|
Загрузка…
Ссылка в новой задаче