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

Add default timeout on deployment, in case stack gets stuck in UPDATE_IN_PROGRESS permanently #45

Open
kmanning opened this issue Jul 11, 2016 · 0 comments

Comments

@kmanning
Copy link
Contributor

We've seen issues in AWS, where a stack can get caught in UPDATE_IN_PROGRESS permanently. During a deployment, we poll the status for the stack, and wait until it either has a success, or a failure status - if the stack is perpetually in neither of those states, the polling (and therefore the deployment) will continue forever.

Add a default/configurable timeout around checking the stack status, so that such problems can be detected in an automated pipeline.

https://github.com/manheim/cf_deployer/blob/master/lib/cf_deployer/stack.rb#L156

Noted by @ryanrwalker during code review for Issue #38.

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

No branches or pull requests

1 participant