yamllint: make files compliant

To aid pre-checks before submission, lets make the files pass
the default yamllint checks - then we can use yamllint to check
new changes going forwards.

Changes were:
 - change True to true for some bools (which also then matches
   the zuul gerrit driver docs)
 - add '---' document start lines
 - wrap one >80 char line using a '>' string construct

Change-Id: I5c365517606b2c331e7155c56b9ebd7873244b10
Signed-off-by: Graham Whaley <graham.whaley@intel.com>
This commit is contained in:
Graham Whaley 2019-02-27 19:09:14 +00:00
parent 23ac8e6201
commit 30453b1638
6 changed files with 13 additions and 6 deletions

View File

@ -1,3 +1,4 @@
---
- hosts: localhost
roles:
- role: check-github-pr-is-wip

View File

@ -1,2 +1,3 @@
---
- name: Check for WIP labels or WIP title keywords on a GitHub PR
script: github_wip.py {{ github_pr }} '{{ wip_keywords }}' '{{ wip_labels }}'

View File

@ -1,3 +1,4 @@
---
# Shared zuul config specific to Kata Containers Zuul tenant
# Contains definitions of trusted jobs
@ -13,7 +14,8 @@
vars:
tox_envlist: linters
tox_environment:
ANSIBLE_ROLES_PATH: ~/src/git.openstack.org/openstack-infra/zuul-jobs/roles:~/src/git.openstack.org/kata-containers/zuul-config/roles
ANSIBLE_ROLES_PATH: >
~/src/git.openstack.org/openstack-infra/zuul-jobs/roles:~/src/git.openstack.org/kata-containers/zuul-config/roles
- job:
name: kata-github-wip

View File

@ -1,3 +1,4 @@
---
# Shared zuul config specific to the Kata Containers Zuul tenant
# Contains definitions of pipelines
@ -14,8 +15,8 @@
precedence: low
require:
gerrit:
open: True
current-patchset: True
open: true
current-patchset: true
trigger:
gerrit:
- event: patchset-created
@ -43,11 +44,11 @@
http://docs.openstack.org/infra/manual/developers.html#automated-testing
manager: dependent
precedence: normal
post-review: True
post-review: true
require:
gerrit:
open: True
current-patchset: True
open: true
current-patchset: true
trigger:
gerrit:
- event: comment-added

View File

@ -1,3 +1,4 @@
---
- project-template:
name: kata-pre-checks
description: |

View File

@ -1,3 +1,4 @@
---
# Shared zuul config specific to the Kata Containers Zuul tenant
# Contains job pipeline definitions for each project