Bug 1387862 - Add yaml lint to the taskgraph. r=ahal r=dustin
We should have CI Lint YAML files in the tree.
MozReview-Commit-ID: GN5pOJCXvnz
--- a/taskcluster/ci/source-test/mozlint.yml
+++ b/taskcluster/ci/source-test/mozlint.yml
@@ -52,16 +52,38 @@ mozlint-flake8:
mach: lint -l flake8 -f treeherder
when:
files-changed:
- '**/*.py'
- '**/.flake8'
- 'python/mozlint/**'
- 'tools/lint/**'
+mozlint-yaml:
+ description: yamllint run over the gecko codebase
+ platform: lint/opt
+ treeherder:
+ symbol: yaml
+ 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: mach
+ mach: lint -l yaml -f treeherder
+ when:
+ files-changed:
+ - '**/*.yml'
+ - '**/*.yaml'
+ - '**/.ymllint'
+ - 'python/mozlint/**'
+ - 'tools/lint/**'
+
wptlint-gecko:
description: web-platform-tests linter
platform: lint/opt
treeherder:
symbol: W
kind: test
tier: 1
worker-type: aws-provisioner-v1/gecko-t-linux-xlarge