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

Fail deployment if instance refresh fails #8

Merged
merged 9 commits into from
Aug 13, 2024

Conversation

lloydwatkin
Copy link
Contributor

Currently if an instance refresh completes with a status of "Failed" the deployment still gets marked as successful.

This change raises an error if one (or more) of the autoscaling group refreshes fails.

Copy link
Member

@ppostma ppostma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your PR! I've got two comments / questions.

lib/capistrano/asg/tasks/rolling.rake Outdated Show resolved Hide resolved
lib/capistrano/asg/tasks/rolling.rake Outdated Show resolved Hide resolved
@lloydwatkin
Copy link
Contributor Author

Any update on this @ppostma ? Thanks!

@ppostma
Copy link
Member

ppostma commented Aug 13, 2024

Sorry holidays... ;-) All good now, I'll try to prepare a new release in the upcoming days.

@ppostma ppostma merged commit 9320a16 into KentaaNL:master Aug 13, 2024
5 checks passed
@lloydwatkin lloydwatkin deleted the exit-if-failed branch August 13, 2024 09:54
@lloydwatkin
Copy link
Contributor Author

Thanks! Hope you had a good break :)

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

Successfully merging this pull request may close these issues.

None yet

2 participants