Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to fail fast on deploy if first instance deployment fails #36

Open
pbrumm opened this issue Mar 14, 2013 · 1 comment
Open

Comments

@pbrumm
Copy link

pbrumm commented Mar 14, 2013

i have a db box setup that runs migrations. if migrations fail, I don't want app boxes to get deployed to.

it is not obvious how I could stop deployment on error.

@rick
Copy link
Member

rick commented Mar 15, 2013

Unfortunately there's probably not an easy way to make this happen. Each deployment is linear - i.e., every step happens in order for each individual host. As opposed to being jointly sequential (e.g., as capistrano or vlad would do) -- where each phase of the deployment runs on all hosts, and if it fails, then the next phase is stopped for all hosts.

I had looked at doing some work on synchronization to overcome this limitation, but had never gotten back to it. The environments where I do all my deployment these days end up doing migrations out-of-band anyway (we branch separate commits for migrations and deploy them separately in advance of any usage), so I'm not even dogfooding this. :-/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants