Dan Čermák 7f9d90b04b
Change vagrant publisher resource to staging-bot
resources cannot have arbitrary names, atm only the following are supported:
- monitor
- repo-checker
- staging-bot

=> use staging-bot as the publisher can take a while to run, but it will not run
   permanently so monitor is overkill
2021-10-25 10:14:28 +02:00
..
2021-06-09 10:27:11 -03:00
2021-06-09 10:27:11 -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'