Files
sousa-gecko/testing/web-platform/tests/tools/ci/commands.json
T
James Graham 38011ae1a6 Bug 2008987 [wpt PR 57044] - Make it easier to run locally in a docker image, a=testonly
Automatic update from web-platform-tests
Convert run_tc.py into 'wpt tc-run'

This makes it easier to run in a local docker image.

--
Detect if we're actually running under taskcluster in tc-run

This makes it easier to just copy/paste a command from CI into a local docker image.

--
Kill started processes when exiting from tc-run

This isn't necessary in actual CI, but locally it makes it easier to run multiple commands in the same docker image.

--

wpt-commits: f2b9b341b4c8d997c0c849d75e63e3b441c3f21a, fe75b8a92039e20592cc1881575e7698f1986c1e, ff4f9c5c8651fe38a8d0598245bb8177261c3220
wpt-pr: 57044
2026-02-09 09:00:47 +00:00

102 lines
2.4 KiB
JSON

{
"test-jobs": {
"path": "jobs.py",
"script": "run",
"parser": "create_parser",
"help": "List test jobs that should run for a set of commits",
"virtualenv": false
},
"make-hosts-file": {
"path": "make_hosts_file.py",
"script": "run",
"parser": "create_parser",
"help": "Output a hosts file to stdout",
"virtualenv": false
},
"macos-display-configuration": {
"path": "macos_display_configuration.py",
"script": "run",
"parser": "create_parser",
"help": "Configure macOS displays (scale, color profile)",
"virtualenv": true,
"requirements": [
"requirements_macos_display_configuration.txt"
]
},
"regen-certs": {
"path": "regen_certs.py",
"script": "run",
"parser": "get_parser",
"help": "Regenerate the WPT certificates",
"virtualenv": false
},
"update-built": {
"path": "update_built.py",
"script": "run",
"parser": "get_parser",
"help": "Update built tests",
"virtualenv": true,
"requirements": [
"requirements_build.txt"
]
},
"tc-download": {
"path": "tc/download.py",
"script": "run",
"parser": "get_parser",
"parse_known": true,
"help": "Download logs from taskcluster",
"virtualenv": true,
"requirements": [
"requirements_tc.txt"
]
},
"tc-taskgraph": {
"path": "tc/taskgraph.py",
"script": "run",
"help": "Build the taskgraph",
"virtualenv": true,
"requirements": [
"requirements_tc.txt"
]
},
"tc-decision": {
"path": "tc/decision.py",
"parser": "get_parser",
"script": "run",
"help": "Run the decision task",
"virtualenv": true,
"requirements": [
"requirements_tc.txt"
]
},
"tc-sink-task": {
"path": "tc/sink_task.py",
"parser": "get_parser",
"script": "run",
"help": "Run the sink task",
"virtualenv": true,
"requirements": [
"requirements_tc.txt"
]
},
"tc-run": {
"path": "run_tc.py",
"script": "run_tc",
"parser": "get_parser",
"parse_known": true,
"help": "Run command in Taskcluster CI environment (for use in Docker image)",
"virtualenv": false
},
"update-codeowners": {
"path": "update_codeowners.py",
"parser": "get_parser",
"script": "run_update_codeowners",
"help": "Update CODEOWNERS file",
"virtualenv": true,
"requirements": [
"requirements_update_codeowners.txt"
]
}
}