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

Does AMI creation happen even if there is a deploy failure? #12

Open
fuzzygroup opened this issue Feb 28, 2019 · 1 comment
Open

Does AMI creation happen even if there is a deploy failure? #12

fuzzygroup opened this issue Feb 28, 2019 · 1 comment

Comments

@fuzzygroup
Copy link

We recently had a spate of weirdness in our deploy stack. The situation we saw was:

  • A capistrano deploy happened
  • An extra directory in releases appeared beyond the set limit of 3
  • We ended up with current pointing one directory behind the last directory in releases
  • We ended up with an AMI with things broken (example - the deploy being one release behind)

The best we've been able to figure out is that we had a failed cap deploy.

My suspicion here is that capistrano-asg creates an AMI even if the overall cap deploy fails. Any thoughts?

@sixfeetover
Copy link
Member

That's odd, I have not observed that behavior on failed deploys. Do you have the output of the deploy log? It would say the AMI name at the bottom of the log if one was created.

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

No branches or pull requests

2 participants