Bug 1425931: Allow specifying eslint via try syntax; r=me
MozReview-Commit-ID: EEWnETcuSnJ --HG-- extra : rebase_source : 5350874be060d8e70d5b94cd8b3d96a7b492b804 extra : source : 73dfbb370c79dba788c0cb8ee1399cd3ff3139ca
This commit is contained in:
Родитель
7f8c4f10ef
Коммит
0817befff9
|
@ -5,6 +5,7 @@
|
|||
loader: taskgraph.loader.transform:loader
|
||||
|
||||
transforms:
|
||||
- taskgraph.transforms.try_job:transforms
|
||||
- taskgraph.transforms.source_test:transforms
|
||||
- taskgraph.transforms.job:transforms
|
||||
- taskgraph.transforms.task:transforms
|
||||
|
|
|
@ -1,15 +1,18 @@
|
|||
job-defaults:
|
||||
always-target: true
|
||||
treeherder:
|
||||
kind: test
|
||||
tier: 1
|
||||
worker-type: aws-provisioner-v1/gecko-t-linux-xlarge
|
||||
worker:
|
||||
docker-image: {in-tree: "lint"}
|
||||
max-run-time: 1800
|
||||
|
||||
eslint:
|
||||
description: JS lint check
|
||||
platform: lint/opt
|
||||
treeherder:
|
||||
symbol: ES
|
||||
kind: test
|
||||
tier: 1
|
||||
worker-type: aws-provisioner-v1/gecko-t-linux-xlarge
|
||||
worker:
|
||||
docker-image:
|
||||
in-tree: "lint"
|
||||
max-run-time: 1800
|
||||
run:
|
||||
using: run-task
|
||||
comm-checkout: true
|
||||
|
@ -19,4 +22,4 @@ eslint:
|
|||
ln -s ../tools/lint/eslint/eslint-plugin-mozilla node_modules &&
|
||||
ln -s ../tools/lint/eslint/eslint-plugin-spidermonkey-js node_modules &&
|
||||
cd /builds/worker/checkouts/gecko/comm &&
|
||||
../mach lint -l eslint -f treeherder --quiet
|
||||
../mach lint -f treeherder -l eslint --quiet
|
||||
|
|
Загрузка…
Ссылка в новой задаче