Verify YAML syntax in gates

Test yaml syntax is correct on new changes.
Fixes current warnings and errors

Change-Id: I5888f8e4a9d27a08506036df2c564b9f2081ccee
changes/16/547816/7
Eduardo Gonzalez 5 years ago
parent d37036a6e2
commit 01a5388169

@ -0,0 +1,9 @@
extends: default
ignore: |
.tox/
rules:
line-length: disable
truthy: disable
braces:
max-spaces-inside: 1

@ -53,4 +53,3 @@
- ^doc/.*
vars:
publisher: false

@ -56,4 +56,3 @@
publisher: true
secrets:
- kolla_dockerhub_creds

@ -1,5 +1,5 @@
---
features:
- Add ansible role for openstack congress project which provide
policy as a service across any collection of cloud services in
order to offer governance and compliance for dynamic infrastructures.
- Add ansible role for openstack congress project which provide
policy as a service across any collection of cloud services in
order to offer governance and compliance for dynamic infrastructures.

@ -1,6 +1,6 @@
---
features:
- Introduce OpenStack Infrastructure Optimization
service, also known as Watcher. This project makes
use of Ceilometer data to rebalance the cloud to
meet declared goals and strategies.
features:
- Introduce OpenStack Infrastructure Optimization
service, also known as Watcher. This project makes
use of Ceilometer data to rebalance the cloud to
meet declared goals and strategies.

@ -1,3 +1,4 @@
---
other:
- Congress doesn't work correctly out of the box and will
not deploy. See Bug #1634641.
not deploy. See Bug https://bugs.launchpad.net/kolla-ansible/+bug/1634641.

@ -2,4 +2,3 @@
deprecations:
- The nova-network service was deprecated, we remove it from
the nova container.

@ -1,3 +1,4 @@
---
collectd_packages:
RedHat:
- collectd

@ -1,3 +1,4 @@
---
- name: restart collectd service
service:
name: collectd

@ -1,3 +1,4 @@
---
- hosts: all
roles:
- collect-collectd

@ -1,3 +1,4 @@
---
- hosts: all
become: true
roles:

@ -1,3 +1,4 @@
---
- hosts: all
vars:
kolla_inventory_path: "{{ zuul.project.src_dir }}/inventory"

@ -31,12 +31,16 @@ commands = python setup.py testr --coverage --testr-args='{posargs}'
coverage report --show-missing
[testenv:pep8]
deps =
{[testenv]deps}
yamllint
commands =
{toxinidir}/tools/run-bashate.sh
flake8 {posargs}
{toxinidir}/tools/validate-all-dockerfiles.sh
python {toxinidir}/tools/validate-all-file.py
bandit -r docker kolla tests tools
yamllint .
[testenv:bandit]
commands = bandit -r docker kolla tests tools

Loading…
Cancel
Save