Verify YAML syntax in gates
Test yaml syntax is correct on new changes. Fixes current warnings and errors Change-Id: I5888f8e4a9d27a08506036df2c564b9f2081ccee
This commit is contained in:
parent
d37036a6e2
commit
01a5388169
9
.yamllint
Normal file
9
.yamllint
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
extends: default
|
||||||
|
ignore: |
|
||||||
|
.tox/
|
||||||
|
|
||||||
|
rules:
|
||||||
|
line-length: disable
|
||||||
|
truthy: disable
|
||||||
|
braces:
|
||||||
|
max-spaces-inside: 1
|
@ -53,4 +53,3 @@
|
|||||||
- ^doc/.*
|
- ^doc/.*
|
||||||
vars:
|
vars:
|
||||||
publisher: false
|
publisher: false
|
||||||
|
|
||||||
|
@ -56,4 +56,3 @@
|
|||||||
publisher: true
|
publisher: true
|
||||||
secrets:
|
secrets:
|
||||||
- kolla_dockerhub_creds
|
- kolla_dockerhub_creds
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
features:
|
features:
|
||||||
- Add ansible role for openstack congress project which provide
|
- Add ansible role for openstack congress project which provide
|
||||||
policy as a service across any collection of cloud services in
|
policy as a service across any collection of cloud services in
|
||||||
order to offer governance and compliance for dynamic infrastructures.
|
order to offer governance and compliance for dynamic infrastructures.
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
features:
|
features:
|
||||||
- Introduce OpenStack Infrastructure Optimization
|
- Introduce OpenStack Infrastructure Optimization
|
||||||
service, also known as Watcher. This project makes
|
service, also known as Watcher. This project makes
|
||||||
use of Ceilometer data to rebalance the cloud to
|
use of Ceilometer data to rebalance the cloud to
|
||||||
meet declared goals and strategies.
|
meet declared goals and strategies.
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
other:
|
other:
|
||||||
- Congress doesn't work correctly out of the box and will
|
- 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:
|
deprecations:
|
||||||
- The nova-network service was deprecated, we remove it from
|
- The nova-network service was deprecated, we remove it from
|
||||||
the nova container.
|
the nova container.
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
collectd_packages:
|
collectd_packages:
|
||||||
RedHat:
|
RedHat:
|
||||||
- collectd
|
- collectd
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
- name: restart collectd service
|
- name: restart collectd service
|
||||||
service:
|
service:
|
||||||
name: collectd
|
name: collectd
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
- hosts: all
|
- hosts: all
|
||||||
roles:
|
roles:
|
||||||
- collect-collectd
|
- collect-collectd
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
- hosts: all
|
- hosts: all
|
||||||
become: true
|
become: true
|
||||||
roles:
|
roles:
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
- hosts: all
|
- hosts: all
|
||||||
vars:
|
vars:
|
||||||
kolla_inventory_path: "{{ zuul.project.src_dir }}/inventory"
|
kolla_inventory_path: "{{ zuul.project.src_dir }}/inventory"
|
||||||
|
4
tox.ini
4
tox.ini
@ -31,12 +31,16 @@ commands = python setup.py testr --coverage --testr-args='{posargs}'
|
|||||||
coverage report --show-missing
|
coverage report --show-missing
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
|
deps =
|
||||||
|
{[testenv]deps}
|
||||||
|
yamllint
|
||||||
commands =
|
commands =
|
||||||
{toxinidir}/tools/run-bashate.sh
|
{toxinidir}/tools/run-bashate.sh
|
||||||
flake8 {posargs}
|
flake8 {posargs}
|
||||||
{toxinidir}/tools/validate-all-dockerfiles.sh
|
{toxinidir}/tools/validate-all-dockerfiles.sh
|
||||||
python {toxinidir}/tools/validate-all-file.py
|
python {toxinidir}/tools/validate-all-file.py
|
||||||
bandit -r docker kolla tests tools
|
bandit -r docker kolla tests tools
|
||||||
|
yamllint .
|
||||||
|
|
||||||
[testenv:bandit]
|
[testenv:bandit]
|
||||||
commands = bandit -r docker kolla tests tools
|
commands = bandit -r docker kolla tests tools
|
||||||
|
Loading…
Reference in New Issue
Block a user