Stephan Kulow 6c63203401 stagings: Report to standard repo if the images are enabled
As OBS staging workflow ignores checks on disabled repositories we
need a way to block the acceptance of standard repo while images
repo isn't enabled to build.
2022-03-19 14:44:06 +01:00
..
2022-02-25 10:10:09 +01:00
2022-02-18 18:29:27 +01:00
2022-02-18 18:29:27 +01:00
2022-02-18 18:17:27 +01: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'