This commit is inspired by a similar commit to Network Service Mesh [1] and
this commit [2] from cn-infra, as well as this commit [3] from contiv-vpp
and this one [4] from vpp-agent.
Since we are making heavy use of yaml files for Network Service Mesh, we should
ensure these are syntactically correct. We'll use yamllint [5] for this.
This commit adds running of yamllint into our travis-ci runs. It also adds a
custom configuration file which turns the yamllint line length check into a
warning. And finally, it fixes a large amount of yamllint errors in our
existing yaml files.
This commit is inspired by a similar commit to Network Service Mesh [1] and this commit [2] from cn-infra, as well as this commit [3] from contiv-vpp and this one [4] from vpp-agent.
Since we are making heavy use of yaml files for Network Service Mesh, we should ensure these are syntactically correct. We'll use yamllint [5] for this.
This commit adds running of yamllint into our travis-ci runs. It also adds a custom configuration file which turns the yamllint line length check into a warning. And finally, it fixes a large amount of yamllint errors in our existing yaml files.
[1] ligato/networkservicemesh#263 [2] ligato/cn-infra#333 [3] ligato/vpp-agent#820 [4] contiv/vpp#1051 [5] https://github.com/adrienverge/yamllint
Signed-off-by: Kyle Mestery mestery@mestery.com