Jimmy Berry a7d8e04488
Merge pull request #2160 from jberry-suse/gocd-origin-manager-include-leapr-nonfree
gocd: include :NonFree in OS.Origin.Manager.Update.
2019-08-16 16:47:55 -05:00
..
2019-07-11 07:11:18 +02:00
2019-07-11 07:11:18 +02:00

How to validate the yaml

For some reason, valid yaml is not supported - the indentation required is rather wild. But to check the syntax before commit, you can use the plugin locally:

wget https://github.com/tomzo/gocd-yaml-config-plugin/releases/download/0.9.0/yaml-config-plugin-0.9.0.jar
java -jar yaml-config-plugin-0.9.0.jar syntax sp1-stagings.gocd.yaml | grep -q '"valid":true'