Skip to content

Commit

Permalink
Backed out 7 changesets (bug 1387862) for yaml linting failures.
Browse files Browse the repository at this point in the history
Backed out changeset 63f87f6db7d6 (bug 1387862)
Backed out changeset a85b7e7d9f24 (bug 1387862)
Backed out changeset 3713ea9672e8 (bug 1387862)
Backed out changeset 22c1094e387f (bug 1387862)
Backed out changeset e0bfb35b0eec (bug 1387862)
Backed out changeset 5bb5dc7655ec (bug 1387862)
Backed out changeset cc4c01794114 (bug 1387862)
  • Loading branch information
rvandermeulen committed Aug 10, 2017
1 parent 37e370e commit 17b590b
Show file tree
Hide file tree
Showing 22 changed files with 16 additions and 264 deletions.
30 changes: 14 additions & 16 deletions .cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
# `taskcluster/taskgraph/cron/schema.py`. For documentation, see
# `taskcluster/docs/cron.rst`.

---

jobs:
- name: nightly-desktop
job:
Expand All @@ -15,10 +13,10 @@ jobs:
- date
when:
by-project:
# Match buildbot starts for now
date: [{hour: 15, minute: 0}]
mozilla-central: [{hour: 10, minute: 0}]
# No default
# Match buildbot starts for now
date: [{hour: 15, minute: 0}]
mozilla-central: [{hour: 10, minute: 0}]
# No default

- name: nightly-desktop-linux
job:
Expand All @@ -28,7 +26,7 @@ jobs:
run-on-projects:
- mozilla-central
- date
when: [] # never (hook only)
when: [] # never (hook only)

- name: nightly-desktop-osx
job:
Expand All @@ -38,7 +36,7 @@ jobs:
run-on-projects:
- mozilla-central
- date
when: [] # never (hook only)
when: [] # never (hook only)

- name: nightly-desktop-win32
job:
Expand All @@ -58,7 +56,7 @@ jobs:
run-on-projects:
- mozilla-central
- date
when: [] # never (hook only)
when: [] # never (hook only)

- name: nightly-android
job:
Expand All @@ -69,11 +67,11 @@ jobs:
- mozilla-central
- date
when:
by-project:
# Match buildbot starts for now
date: [{hour: 15, minute: 0}]
mozilla-central: [{hour: 10, minute: 0}]
# No default
by-project:
# Match buildbot starts for now
date: [{hour: 15, minute: 0}]
mozilla-central: [{hour: 10, minute: 0}]
# No default

- name: nightly-mochitest-valgrind
job:
Expand All @@ -95,5 +93,5 @@ jobs:
- mozilla-central
when:
by-project:
mozilla-central: [{hour: 10, minute: 0}]
# No default
mozilla-central: [{hour: 10, minute: 0}]
# No default
1 change: 0 additions & 1 deletion python/mozlint/test/linters/badreturncode.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
BadReturnCodeLinter:
description: Returns an error code no matter what
include:
Expand Down
1 change: 0 additions & 1 deletion python/mozlint/test/linters/explicit_path.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
ExplicitPathLinter:
description: Only lint a specific file name
rule: no-foobar
Expand Down
1 change: 0 additions & 1 deletion python/mozlint/test/linters/external.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
ExternalLinter:
description: It's bad to have the string foobar in js files.
include:
Expand Down
1 change: 0 additions & 1 deletion python/mozlint/test/linters/invalid_exclude.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
BadExcludeLinter:
description: Has an invalid exclude directive.
exclude: [0, 1] # should be a list of strings
Expand Down
1 change: 0 additions & 1 deletion python/mozlint/test/linters/invalid_extension.ym
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
BadExtensionLinter:
description: Has an invalid file extension.
type: string
Expand Down
1 change: 0 additions & 1 deletion python/mozlint/test/linters/invalid_include.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
BadIncludeLinter:
description: Has an invalid include directive.
include: should be a list
Expand Down
1 change: 0 additions & 1 deletion python/mozlint/test/linters/invalid_type.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
BadTypeLinter:
description: Has an invalid type.
type: invalid
Expand Down
1 change: 0 additions & 1 deletion python/mozlint/test/linters/missing_attrs.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
---
MissingAttrsLinter:
description: Missing type and payload
1 change: 0 additions & 1 deletion python/mozlint/test/linters/raises.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
RaisesLinter:
description: Raises an exception
type: external
Expand Down
5 changes: 1 addition & 4 deletions python/mozlint/test/linters/regex.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
---
RegexLinter:
description: >-
Make sure the string foobar never appears in a js variable
file because it is bad.
description: Make sure the string foobar never appears in a js variable file because it is bad.
rule: no-foobar
include:
- '**/*.js'
Expand Down
5 changes: 1 addition & 4 deletions python/mozlint/test/linters/string.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
---
StringLinter:
description: >-
Make sure the string foobar never appears in browser js
files because it is bad
description: Make sure the string foobar never appears in browser js files because it is bad
rule: no-foobar
include:
- '**/*.js'
Expand Down
1 change: 0 additions & 1 deletion python/mozlint/test/linters/structured.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
StructuredLinter:
description: "It's bad to have the string foobar in js files."
include:
Expand Down
16 changes: 0 additions & 16 deletions taskcluster/.yamllint

This file was deleted.

22 changes: 0 additions & 22 deletions taskcluster/ci/source-test/mozlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,28 +57,6 @@ mozlint-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 yamllint -f treeherder
when:
files-changed:
- '**/*.yml'
- '**/*.yaml'
- '**/.ymllint'
- 'python/mozlint/**'
- 'tools/lint/**'

wptlint-gecko:
description: web-platform-tests linter
platform: lint/opt
Expand Down
1 change: 0 additions & 1 deletion tools/lint/eslint.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
eslint:
description: JavaScript linter
# ESLint infra handles its own path filtering, so just include cwd
Expand Down
1 change: 0 additions & 1 deletion tools/lint/flake8.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
flake8:
description: Python linter
include:
Expand Down
1 change: 0 additions & 1 deletion tools/lint/wpt.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
wpt:
description: web-platform-tests lint
include:
Expand Down
1 change: 0 additions & 1 deletion tools/lint/wpt_manifest.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
wpt_manifest:
description: web-platform-tests manifest lint
include:
Expand Down
13 changes: 0 additions & 13 deletions tools/lint/yaml.yml

This file was deleted.

154 changes: 0 additions & 154 deletions tools/lint/yamllint_/__init__.py

This file was deleted.

Loading

0 comments on commit 17b590b

Please sign in to comment.