Giacomo Leidi 962b5d399b
gocd: slfo-stagings: Freeze the Stagings each Sunday.
Stagings will be frozen iif:

- Check.Ring.1.Built job succeeds (runs every hour on Sundays, from 0 to 23. simple check and then exit)
- If the former check is successful, and it has not been freezed in the past day
2024-08-29 17:22:51 +02:00
..
2022-06-03 15:38:05 +02:00
2024-01-03 17:03:25 +01:00
2024-01-03 17:03:25 +01:00
2024-05-07 21:52:32 +02: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'