Skip to content

Commit

Permalink
Bug 1387862 - Lint taskcluster's cron.yml file, fixup lint errors. r=…
Browse files Browse the repository at this point in the history
…dustin

We should have CI Lint YAML files in the tree.

MozReview-Commit-ID: 758kdSddjJN
  • Loading branch information
Callek committed Aug 6, 2017
1 parent ee85229 commit 4362a80
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 14 deletions.
30 changes: 16 additions & 14 deletions .cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# `taskcluster/taskgraph/cron/schema.py`. For documentation, see
# `taskcluster/docs/cron.rst`.

---

jobs:
- name: nightly-desktop
job:
Expand All @@ -13,10 +15,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 @@ -26,7 +28,7 @@ jobs:
run-on-projects:
- mozilla-central
- date
when: [] # never (hook only)
when: [] # never (hook only)

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

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

- name: nightly-android
job:
Expand All @@ -67,11 +69,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 @@ -93,5 +95,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: 1 addition & 0 deletions tools/lint/yaml.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
yamllint:
description: YAML linter
include:
- .cron.yml
- taskcluster
extensions: ['yml', 'yaml']
type: external
Expand Down

0 comments on commit 4362a80

Please sign in to comment.