Re: Can a Bosh deployment be aborted when drain script returns non-zero exit code?

Dmitriy Kalinin
 

it fails most likely due to this:
https://github.com/cloudfoundry/bosh-agent/blob/master/agent/script/drain/concrete_script.go#L157

On Thu, Oct 19, 2017 at 2:26 PM, Carol Morneau <carol.morneau(a)solace.com>
wrote:

Thanks Dmitriy for your input.

Here's an example of a drain script that does abort the deployment:

#!/bin/bash
set -e
false

Join cf-bosh@lists.cloudfoundry.org to automatically receive all group messages.