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