Can someone explain what bosh does when a drain-script returns a non-zero exit code? From my testing, it appears to carry-on with the deployment no matter what the exit code is.
Here's a drain-script I'd hope would abort a deployment:
I would like to be able to abort a deployment when the drain-script returns a non-zero code. Is there a way I could achieve that?
Thanks for you help,