Andrii Nikitin 9e9479d6b0 Fix MQ timeouts in rabbit-repoid
AMQP Server on practice sometimes closes connection when update_repo()
is busy in gocd/rabbit-repoid.py.
Doing the same work just in still_alive() seems be sufficient and
fixes the same problem in local environment.
2020-10-07 12:51:04 +02:00
..
2020-08-10 10:47:50 -03: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'