ligato / sfc-controller

Service Function Chain (SFC) Controller for stitching virtual and physical networking
Apache License 2.0
45 stars 29 forks source link

Add yamllint to our travis-ci runs #19

Closed mestery closed 6 years ago

mestery commented 6 years ago

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

mestery commented 6 years ago

make lint failed which is unrelated to the yamllint change proposed here.