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

Provide a way to run a cleanup script after a deployment error #63

Open
attekei opened this issue May 25, 2016 · 5 comments
Open

Provide a way to run a cleanup script after a deployment error #63

attekei opened this issue May 25, 2016 · 5 comments

Comments

@attekei
Copy link

attekei commented May 25, 2016

CodeDeploy is missing a mechanism for doing cleanup after a deployment error. This could be implemented as another lifecycle event that is triggered only when a deployment fails for some reason. This reason could be e.g. a non-zero exit status of a hook script, a timeout or a user-triggered cancellation of the deployment.

The idea of this originates from a more specific issue regarding ASG lifecycle scripts. In that case, an auto-scaling group is left in an unclean state after an error during a deployment.

One remotely similar mechanism for error handling is the rescue block in Ansible:
http://docs.ansible.com/ansible/playbooks_blocks.html

@annamataws
Copy link

This was added to our backlog.
Thank you

@daaru00
Copy link

daaru00 commented Mar 26, 2019

Hi,

any news about this feature?

@saysjonathan
Copy link

Bumping for an update on this feature.

@ibejohn818
Copy link

Bump........

@arces
Copy link

arces commented Apr 8, 2020

Bump, just ran into something similar to this

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

No branches or pull requests

6 participants