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 - hosts: localhost
roles: roles:
- role: check-github-pr-is-wip - 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 - name: Check for WIP labels or WIP title keywords on a GitHub PR
script: github_wip.py {{ github_pr }} '{{ wip_keywords }}' '{{ wip_labels }}' 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 # Shared zuul config specific to Kata Containers Zuul tenant
# Contains definitions of trusted jobs # Contains definitions of trusted jobs
@ -13,7 +14,8 @@
vars: vars:
tox_envlist: linters tox_envlist: linters
tox_environment: 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: - job:
name: kata-github-wip name: kata-github-wip

View File

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

View File

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

View File

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