Bug 2058156 - Make lint tasks clone with Git, r=taskgraph-reviewers,Eijebong
Differential Revision: https://phabricator.services.mozilla.com/D317615
This commit is contained in:
committed by
ahalberstadt@mozilla.com
parent
57257274d6
commit
c9d70707ab
@@ -56,7 +56,6 @@ task-defaults:
|
|||||||
path: /builds/worker/checkouts/gecko/obj-firefox/gradle/build/reports
|
path: /builds/worker/checkouts/gecko/obj-firefox/gradle/build/reports
|
||||||
type: directory
|
type: directory
|
||||||
run:
|
run:
|
||||||
clone-with: hg
|
|
||||||
using: run-task
|
using: run-task
|
||||||
tooltool-downloads: internal # For internal toolchains.
|
tooltool-downloads: internal # For internal toolchains.
|
||||||
fetches:
|
fetches:
|
||||||
@@ -74,7 +73,6 @@ lints:
|
|||||||
treeherder:
|
treeherder:
|
||||||
symbol: android(lints)
|
symbol: android(lints)
|
||||||
run:
|
run:
|
||||||
clone-with: hg
|
|
||||||
command: >
|
command: >
|
||||||
ln -s $MOZ_FETCHES_DIR/android-gradle-dependencies $GECKO_PATH &&
|
ln -s $MOZ_FETCHES_DIR/android-gradle-dependencies $GECKO_PATH &&
|
||||||
ln -s $MOZ_FETCHES_DIR/android-sdk-linux $GECKO_PATH &&
|
ln -s $MOZ_FETCHES_DIR/android-sdk-linux $GECKO_PATH &&
|
||||||
@@ -115,7 +113,6 @@ fenix:
|
|||||||
treeherder:
|
treeherder:
|
||||||
symbol: android(fenix-lints)
|
symbol: android(fenix-lints)
|
||||||
run:
|
run:
|
||||||
clone-with: hg
|
|
||||||
command: >
|
command: >
|
||||||
ln -s $MOZ_FETCHES_DIR/android-gradle-dependencies $GECKO_PATH &&
|
ln -s $MOZ_FETCHES_DIR/android-gradle-dependencies $GECKO_PATH &&
|
||||||
ln -s $MOZ_FETCHES_DIR/android-sdk-linux $GECKO_PATH &&
|
ln -s $MOZ_FETCHES_DIR/android-sdk-linux $GECKO_PATH &&
|
||||||
@@ -144,7 +141,6 @@ focus:
|
|||||||
treeherder:
|
treeherder:
|
||||||
symbol: android(focus-lints)
|
symbol: android(focus-lints)
|
||||||
run:
|
run:
|
||||||
clone-with: hg
|
|
||||||
command: >
|
command: >
|
||||||
ln -s $MOZ_FETCHES_DIR/android-gradle-dependencies $GECKO_PATH &&
|
ln -s $MOZ_FETCHES_DIR/android-gradle-dependencies $GECKO_PATH &&
|
||||||
ln -s $MOZ_FETCHES_DIR/android-sdk-linux $GECKO_PATH &&
|
ln -s $MOZ_FETCHES_DIR/android-sdk-linux $GECKO_PATH &&
|
||||||
@@ -173,7 +169,6 @@ android-components:
|
|||||||
treeherder:
|
treeherder:
|
||||||
symbol: android(ac-lints)
|
symbol: android(ac-lints)
|
||||||
run:
|
run:
|
||||||
clone-with: hg
|
|
||||||
command: >
|
command: >
|
||||||
ln -s $MOZ_FETCHES_DIR/android-gradle-dependencies $GECKO_PATH &&
|
ln -s $MOZ_FETCHES_DIR/android-gradle-dependencies $GECKO_PATH &&
|
||||||
ln -s $MOZ_FETCHES_DIR/android-sdk-linux $GECKO_PATH &&
|
ln -s $MOZ_FETCHES_DIR/android-sdk-linux $GECKO_PATH &&
|
||||||
|
|||||||
@@ -130,7 +130,6 @@ eslint:
|
|||||||
treeherder:
|
treeherder:
|
||||||
symbol: js(ES)
|
symbol: js(ES)
|
||||||
run:
|
run:
|
||||||
clone-with: hg
|
|
||||||
using: run-task
|
using: run-task
|
||||||
cwd: '{checkout}'
|
cwd: '{checkout}'
|
||||||
use-caches: [checkout, pip, uv, npm]
|
use-caches: [checkout, pip, uv, npm]
|
||||||
@@ -203,7 +202,6 @@ stylelint:
|
|||||||
treeherder:
|
treeherder:
|
||||||
symbol: stylelint
|
symbol: stylelint
|
||||||
run:
|
run:
|
||||||
clone-with: hg
|
|
||||||
using: run-task
|
using: run-task
|
||||||
cwd: '{checkout}'
|
cwd: '{checkout}'
|
||||||
command: >
|
command: >
|
||||||
@@ -234,7 +232,6 @@ typescript:
|
|||||||
symbol: js(TSC)
|
symbol: js(TSC)
|
||||||
tier: 3
|
tier: 3
|
||||||
run:
|
run:
|
||||||
clone-with: hg
|
|
||||||
using: run-task
|
using: run-task
|
||||||
cwd: '{checkout}'
|
cwd: '{checkout}'
|
||||||
use-caches: [checkout, pip, uv, npm]
|
use-caches: [checkout, pip, uv, npm]
|
||||||
@@ -276,7 +273,6 @@ license:
|
|||||||
treeherder:
|
treeherder:
|
||||||
symbol: pedantic(license)
|
symbol: pedantic(license)
|
||||||
run:
|
run:
|
||||||
clone-with: hg
|
|
||||||
mach: lint -v -l license -f treeherder -f json:/builds/worker/mozlint.json .
|
mach: lint -v -l license -f treeherder -f json:/builds/worker/mozlint.json .
|
||||||
fetches:
|
fetches:
|
||||||
toolchain:
|
toolchain:
|
||||||
@@ -312,7 +308,6 @@ lintpref:
|
|||||||
treeherder:
|
treeherder:
|
||||||
symbol: misc(pref)
|
symbol: misc(pref)
|
||||||
run:
|
run:
|
||||||
clone-with: hg
|
|
||||||
mach: lint -v -l lintpref -f treeherder -f json:/builds/worker/mozlint.json .
|
mach: lint -v -l lintpref -f treeherder -f json:/builds/worker/mozlint.json .
|
||||||
when:
|
when:
|
||||||
files-changed:
|
files-changed:
|
||||||
@@ -333,7 +328,6 @@ node-licenses:
|
|||||||
treeherder:
|
treeherder:
|
||||||
symbol: misc(node-licenses)
|
symbol: misc(node-licenses)
|
||||||
run:
|
run:
|
||||||
clone-with: hg
|
|
||||||
using: run-task
|
using: run-task
|
||||||
cwd: '{checkout}'
|
cwd: '{checkout}'
|
||||||
use-caches: [checkout, pip, uv, npm]
|
use-caches: [checkout, pip, uv, npm]
|
||||||
@@ -369,7 +363,6 @@ node-package-names:
|
|||||||
treeherder:
|
treeherder:
|
||||||
symbol: misc(npn)
|
symbol: misc(npn)
|
||||||
run:
|
run:
|
||||||
clone-with: hg
|
|
||||||
mach: lint -v -l node-package-names -f treeherder -f json:/builds/worker/mozlint.json .
|
mach: lint -v -l node-package-names -f treeherder -f json:/builds/worker/mozlint.json .
|
||||||
when:
|
when:
|
||||||
files-changed:
|
files-changed:
|
||||||
@@ -381,7 +374,6 @@ mingw-cap:
|
|||||||
treeherder:
|
treeherder:
|
||||||
symbol: misc(mingw)
|
symbol: misc(mingw)
|
||||||
run:
|
run:
|
||||||
clone-with: hg
|
|
||||||
mach: lint -v -l mingw-capitalization -f treeherder -f json:/builds/worker/mozlint.json .
|
mach: lint -v -l mingw-capitalization -f treeherder -f json:/builds/worker/mozlint.json .
|
||||||
when:
|
when:
|
||||||
files-changed:
|
files-changed:
|
||||||
@@ -396,7 +388,6 @@ updatebot:
|
|||||||
treeherder:
|
treeherder:
|
||||||
symbol: misc(mozyaml)
|
symbol: misc(mozyaml)
|
||||||
run:
|
run:
|
||||||
clone-with: hg
|
|
||||||
mach: lint -v -l updatebot -f treeherder -f json:/builds/worker/mozlint.json .
|
mach: lint -v -l updatebot -f treeherder -f json:/builds/worker/mozlint.json .
|
||||||
when:
|
when:
|
||||||
files-changed:
|
files-changed:
|
||||||
@@ -407,7 +398,6 @@ mscom-init:
|
|||||||
treeherder:
|
treeherder:
|
||||||
symbol: misc(mscom)
|
symbol: misc(mscom)
|
||||||
run:
|
run:
|
||||||
clone-with: hg
|
|
||||||
mach: lint -v -l mscom-init -f treeherder -f json:/builds/worker/mozlint.json .
|
mach: lint -v -l mscom-init -f treeherder -f json:/builds/worker/mozlint.json .
|
||||||
when:
|
when:
|
||||||
files-changed:
|
files-changed:
|
||||||
@@ -423,7 +413,6 @@ py-ruff-format:
|
|||||||
treeherder:
|
treeherder:
|
||||||
symbol: py(ruff-format)
|
symbol: py(ruff-format)
|
||||||
run:
|
run:
|
||||||
clone-with: hg
|
|
||||||
mach: lint -v -l ruff-format -f treeherder -f json:/builds/worker/mozlint.json .
|
mach: lint -v -l ruff-format -f treeherder -f json:/builds/worker/mozlint.json .
|
||||||
when:
|
when:
|
||||||
files-changed:
|
files-changed:
|
||||||
@@ -441,7 +430,6 @@ py-ruff:
|
|||||||
treeherder:
|
treeherder:
|
||||||
symbol: py(ruff)
|
symbol: py(ruff)
|
||||||
run:
|
run:
|
||||||
clone-with: hg
|
|
||||||
mach: lint -v -l ruff -f treeherder -f json:/builds/worker/mozlint.json .
|
mach: lint -v -l ruff -f treeherder -f json:/builds/worker/mozlint.json .
|
||||||
when:
|
when:
|
||||||
files-changed:
|
files-changed:
|
||||||
@@ -458,7 +446,6 @@ python-sites:
|
|||||||
treeherder:
|
treeherder:
|
||||||
symbol: misc(pysites)
|
symbol: misc(pysites)
|
||||||
run:
|
run:
|
||||||
clone-with: hg
|
|
||||||
mach: lint -v -l python-sites -f treeherder -f json:/builds/worker/mozlint.json .
|
mach: lint -v -l python-sites -f treeherder -f json:/builds/worker/mozlint.json .
|
||||||
when:
|
when:
|
||||||
files-changed:
|
files-changed:
|
||||||
@@ -470,7 +457,6 @@ test-manifest:
|
|||||||
treeherder:
|
treeherder:
|
||||||
symbol: tests(test-manifest)
|
symbol: tests(test-manifest)
|
||||||
run:
|
run:
|
||||||
clone-with: hg
|
|
||||||
mach: lint -v -l test-manifest-toml -f treeherder -f json:/builds/worker/mozlint.json .
|
mach: lint -v -l test-manifest-toml -f treeherder -f json:/builds/worker/mozlint.json .
|
||||||
when:
|
when:
|
||||||
files-changed:
|
files-changed:
|
||||||
@@ -485,7 +471,6 @@ review-context-toml:
|
|||||||
treeherder:
|
treeherder:
|
||||||
symbol: misc(review-context)
|
symbol: misc(review-context)
|
||||||
run:
|
run:
|
||||||
clone-with: hg
|
|
||||||
mach: lint -v -l review-context-toml -f treeherder -f json:/builds/worker/mozlint.json .
|
mach: lint -v -l review-context-toml -f treeherder -f json:/builds/worker/mozlint.json .
|
||||||
when:
|
when:
|
||||||
files-changed:
|
files-changed:
|
||||||
@@ -499,7 +484,6 @@ wptlint-gecko:
|
|||||||
treeherder:
|
treeherder:
|
||||||
symbol: tests(web-platform)
|
symbol: tests(web-platform)
|
||||||
run:
|
run:
|
||||||
clone-with: hg
|
|
||||||
mach: lint -v -l wpt -f treeherder -f json:/builds/worker/mozlint.json .
|
mach: lint -v -l wpt -f treeherder -f json:/builds/worker/mozlint.json .
|
||||||
when:
|
when:
|
||||||
files-changed:
|
files-changed:
|
||||||
@@ -512,7 +496,6 @@ wpt-subsuite-tagging:
|
|||||||
treeherder:
|
treeherder:
|
||||||
symbol: tests(wpt-sub)
|
symbol: tests(wpt-sub)
|
||||||
run:
|
run:
|
||||||
clone-with: hg
|
|
||||||
mach: lint -v -l wpt-subsuite-tagging -f treeherder -f json:/builds/worker/mozlint.json .
|
mach: lint -v -l wpt-subsuite-tagging -f treeherder -f json:/builds/worker/mozlint.json .
|
||||||
when:
|
when:
|
||||||
files-changed:
|
files-changed:
|
||||||
@@ -529,7 +512,6 @@ yaml:
|
|||||||
treeherder:
|
treeherder:
|
||||||
symbol: pedantic(yaml)
|
symbol: pedantic(yaml)
|
||||||
run:
|
run:
|
||||||
clone-with: hg
|
|
||||||
mach: lint -v -l yaml -f treeherder -f json:/builds/worker/mozlint.json .
|
mach: lint -v -l yaml -f treeherder -f json:/builds/worker/mozlint.json .
|
||||||
when:
|
when:
|
||||||
files-changed:
|
files-changed:
|
||||||
@@ -557,7 +539,6 @@ shellcheck:
|
|||||||
treeherder:
|
treeherder:
|
||||||
symbol: misc(shell)
|
symbol: misc(shell)
|
||||||
run:
|
run:
|
||||||
clone-with: hg
|
|
||||||
mach: lint -v -l shellcheck -f treeherder -f json:/builds/worker/mozlint.json .
|
mach: lint -v -l shellcheck -f treeherder -f json:/builds/worker/mozlint.json .
|
||||||
when:
|
when:
|
||||||
files-changed:
|
files-changed:
|
||||||
@@ -570,7 +551,6 @@ localization:
|
|||||||
treeherder:
|
treeherder:
|
||||||
symbol: l10n(l1nt)
|
symbol: l10n(l1nt)
|
||||||
run:
|
run:
|
||||||
clone-with: hg
|
|
||||||
mach: lint -v -l l10n -f treeherder *
|
mach: lint -v -l l10n -f treeherder *
|
||||||
attributes:
|
attributes:
|
||||||
code-review: false
|
code-review: false
|
||||||
@@ -590,7 +570,6 @@ l10n-conflicts:
|
|||||||
always-target: false
|
always-target: false
|
||||||
run-on-projects: []
|
run-on-projects: []
|
||||||
run:
|
run:
|
||||||
clone-with: hg
|
|
||||||
mach: lint -W -l l10n -f treeherder -f json:/builds/worker/mozlint.json .
|
mach: lint -W -l l10n -f treeherder -f json:/builds/worker/mozlint.json .
|
||||||
when:
|
when:
|
||||||
files-changed:
|
files-changed:
|
||||||
@@ -606,7 +585,6 @@ clang-format:
|
|||||||
treeherder:
|
treeherder:
|
||||||
symbol: cpp(clang-format)
|
symbol: cpp(clang-format)
|
||||||
run:
|
run:
|
||||||
clone-with: hg
|
|
||||||
mach: lint -v -l clang-format -f treeherder -f json:/builds/worker/mozlint.json .
|
mach: lint -v -l clang-format -f treeherder -f json:/builds/worker/mozlint.json .
|
||||||
when:
|
when:
|
||||||
files-changed:
|
files-changed:
|
||||||
@@ -630,7 +608,6 @@ rustfmt:
|
|||||||
treeherder:
|
treeherder:
|
||||||
symbol: rust(rustfmt)
|
symbol: rust(rustfmt)
|
||||||
run:
|
run:
|
||||||
clone-with: hg
|
|
||||||
mach: lint -v -l rustfmt -f treeherder -f json:/builds/worker/mozlint.json .
|
mach: lint -v -l rustfmt -f treeherder -f json:/builds/worker/mozlint.json .
|
||||||
when:
|
when:
|
||||||
files-changed:
|
files-changed:
|
||||||
@@ -646,7 +623,6 @@ clippy:
|
|||||||
treeherder:
|
treeherder:
|
||||||
symbol: rust(clippy)
|
symbol: rust(clippy)
|
||||||
run:
|
run:
|
||||||
clone-with: hg
|
|
||||||
prepend-env:
|
prepend-env:
|
||||||
PATH: "$MOZ_FETCHES_DIR/rustc/bin/${PATH:+:$PATH}"
|
PATH: "$MOZ_FETCHES_DIR/rustc/bin/${PATH:+:$PATH}"
|
||||||
mach: lint -v -l clippy -f treeherder -f json:/builds/worker/mozlint.json -j 1 .
|
mach: lint -v -l clippy -f treeherder -f json:/builds/worker/mozlint.json -j 1 .
|
||||||
@@ -674,7 +650,6 @@ cargo-audit:
|
|||||||
treeherder:
|
treeherder:
|
||||||
symbol: rust(cargo-audit)
|
symbol: rust(cargo-audit)
|
||||||
run:
|
run:
|
||||||
clone-with: hg
|
|
||||||
prepend-env:
|
prepend-env:
|
||||||
PATH: "$MOZ_FETCHES_DIR/rustc/bin/:/builds/worker/.cargo/bin/${PATH:+:$PATH}"
|
PATH: "$MOZ_FETCHES_DIR/rustc/bin/:/builds/worker/.cargo/bin/${PATH:+:$PATH}"
|
||||||
mach: lint -v --warnings=soft -l cargo-audit -f treeherder -f json:/builds/worker/mozlint.json .
|
mach: lint -v --warnings=soft -l cargo-audit -f treeherder -f json:/builds/worker/mozlint.json .
|
||||||
@@ -690,7 +665,6 @@ mozcheck-tests:
|
|||||||
treeherder:
|
treeherder:
|
||||||
symbol: rust(mozcheck)
|
symbol: rust(mozcheck)
|
||||||
run:
|
run:
|
||||||
clone-with: hg
|
|
||||||
using: run-task
|
using: run-task
|
||||||
cwd: '{checkout}'
|
cwd: '{checkout}'
|
||||||
command: >-
|
command: >-
|
||||||
@@ -797,7 +771,6 @@ perfdocs-verify:
|
|||||||
treeherder:
|
treeherder:
|
||||||
symbol: doc(perfdocs)
|
symbol: doc(perfdocs)
|
||||||
run:
|
run:
|
||||||
clone-with: hg
|
|
||||||
mach: perfdocs --output-file /builds/worker/mozlint.json
|
mach: perfdocs --output-file /builds/worker/mozlint.json
|
||||||
worker:
|
worker:
|
||||||
env:
|
env:
|
||||||
@@ -830,7 +803,6 @@ condprof-addons-verify:
|
|||||||
treeherder:
|
treeherder:
|
||||||
symbol: misc(condprof-addons)
|
symbol: misc(condprof-addons)
|
||||||
run:
|
run:
|
||||||
clone-with: hg
|
|
||||||
mach: |
|
mach: |
|
||||||
lint -v -l condprof-addons -f treeherder -f json:/builds/worker/mozlint.json .
|
lint -v -l condprof-addons -f treeherder -f json:/builds/worker/mozlint.json .
|
||||||
fetches:
|
fetches:
|
||||||
@@ -847,7 +819,6 @@ fluent-lint:
|
|||||||
treeherder:
|
treeherder:
|
||||||
symbol: l10n(fluent)
|
symbol: l10n(fluent)
|
||||||
run:
|
run:
|
||||||
clone-with: hg
|
|
||||||
mach: lint --linter fluent-lint -f treeherder -f json:/builds/worker/mozlint.json .
|
mach: lint --linter fluent-lint -f treeherder -f json:/builds/worker/mozlint.json .
|
||||||
when:
|
when:
|
||||||
files-changed:
|
files-changed:
|
||||||
@@ -860,7 +831,6 @@ glean-parser:
|
|||||||
treeherder:
|
treeherder:
|
||||||
symbol: misc(glean-parser)
|
symbol: misc(glean-parser)
|
||||||
run:
|
run:
|
||||||
clone-with: hg
|
|
||||||
mach: lint -v -l glean-parser -f treeherder -f json:/builds/worker/mozlint.json .
|
mach: lint -v -l glean-parser -f treeherder -f json:/builds/worker/mozlint.json .
|
||||||
when:
|
when:
|
||||||
files-changed:
|
files-changed:
|
||||||
@@ -875,7 +845,6 @@ trojan-source:
|
|||||||
treeherder:
|
treeherder:
|
||||||
symbol: misc(trojan-source)
|
symbol: misc(trojan-source)
|
||||||
run:
|
run:
|
||||||
clone-with: hg
|
|
||||||
mach: lint -v -l trojan-source -f treeherder -f json:/builds/worker/mozlint.json .
|
mach: lint -v -l trojan-source -f treeherder -f json:/builds/worker/mozlint.json .
|
||||||
fetches:
|
fetches:
|
||||||
toolchain:
|
toolchain:
|
||||||
@@ -896,7 +865,6 @@ ignorefile-test:
|
|||||||
treeherder:
|
treeherder:
|
||||||
symbol: ignorefile
|
symbol: ignorefile
|
||||||
run:
|
run:
|
||||||
clone-with: hg
|
|
||||||
mach: lint -v -l ignorefile .gitignore .hgignore
|
mach: lint -v -l ignorefile .gitignore .hgignore
|
||||||
when:
|
when:
|
||||||
files-changed:
|
files-changed:
|
||||||
@@ -909,7 +877,6 @@ agent-skills-sync:
|
|||||||
treeherder:
|
treeherder:
|
||||||
symbol: agent-skills-sync
|
symbol: agent-skills-sync
|
||||||
run:
|
run:
|
||||||
clone-with: hg
|
|
||||||
mach: lint -v -l agent-skills-sync -f treeherder -f json:/builds/worker/mozlint.json .claude/skills .agents/skills
|
mach: lint -v -l agent-skills-sync -f treeherder -f json:/builds/worker/mozlint.json .claude/skills .agents/skills
|
||||||
when:
|
when:
|
||||||
files-changed:
|
files-changed:
|
||||||
@@ -924,7 +891,6 @@ c-includes:
|
|||||||
treeherder:
|
treeherder:
|
||||||
symbol: cpp(includes)
|
symbol: cpp(includes)
|
||||||
run:
|
run:
|
||||||
clone-with: hg
|
|
||||||
mach: lint -l includes -f treeherder -f json:/builds/worker/mozlint.json .
|
mach: lint -l includes -f treeherder -f json:/builds/worker/mozlint.json .
|
||||||
when:
|
when:
|
||||||
files-changed:
|
files-changed:
|
||||||
@@ -945,7 +911,6 @@ header-guards:
|
|||||||
treeherder:
|
treeherder:
|
||||||
symbol: cpp(guards)
|
symbol: cpp(guards)
|
||||||
run:
|
run:
|
||||||
clone-with: hg
|
|
||||||
mach: lint -l header-guards -f treeherder -f json:/builds/worker/mozlint.json .
|
mach: lint -l header-guards -f treeherder -f json:/builds/worker/mozlint.json .
|
||||||
when:
|
when:
|
||||||
files-changed:
|
files-changed:
|
||||||
@@ -959,7 +924,6 @@ android-expired-strings:
|
|||||||
treeherder:
|
treeherder:
|
||||||
symbol: android(expired-strings)
|
symbol: android(expired-strings)
|
||||||
run:
|
run:
|
||||||
clone-with: hg
|
|
||||||
mach: lint -v -l android-expired-strings -f treeherder -f json:/builds/worker/mozlint.json .
|
mach: lint -v -l android-expired-strings -f treeherder -f json:/builds/worker/mozlint.json .
|
||||||
when:
|
when:
|
||||||
files-changed:
|
files-changed:
|
||||||
@@ -974,7 +938,6 @@ gecko-trace:
|
|||||||
treeherder:
|
treeherder:
|
||||||
symbol: misc(gecko-trace)
|
symbol: misc(gecko-trace)
|
||||||
run:
|
run:
|
||||||
clone-with: hg
|
|
||||||
mach: lint -l gecko-trace -f treeherder -f json:/builds/worker/mozlint.json .
|
mach: lint -l gecko-trace -f treeherder -f json:/builds/worker/mozlint.json .
|
||||||
when:
|
when:
|
||||||
files-changed:
|
files-changed:
|
||||||
|
|||||||
Reference in New Issue
Block a user