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:
Tom Prince 2017-11-18 01:27:34 -07:00
Родитель 7f8c4f10ef
Коммит 0817befff9
2 изменённых файлов: 12 добавлений и 8 удалений

Просмотреть файл

@ -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