Stephan Kulow 101a4c8646 Enable images repo once 000product was updated
If installcheck or packagelists check fails, there is no point
(normally) to build the media - so let the release manager disable
the images repo (which also hides uninteresting fails) while the
checks are failing and have gocd enable the images repo afterwards
to start the build (and the openqa sync)
2019-09-27 08:25: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'