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

Handle service CF stack failure #362

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Handle service CF stack failure #362

wants to merge 1 commit into from

Conversation

k2nr
Copy link
Member

@k2nr k2nr commented Mar 13, 2017

No description provided.

@@ -40,6 +40,6 @@ def perform(heritage, without_before_deploy:, description: "")

def other_deploy_in_progress?(heritage)
return false if heritage.version == 1
heritage.services.map { |s| !s.deployment_finished?(nil) }.any?
heritage.services.map { |s| s.deployment_status(nil) == :in_progress }.any?

Choose a reason for hiding this comment

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

Why pass nil here?

@olingern
Copy link

olingern commented Jul 27, 2018

This looks kind of straight forward, and looks like it would prevent deploying while another is in-progress.

Is there anything else that needs to be done to merge? ( other than code clean up / rebase )

@k2nr
Copy link
Member Author

k2nr commented Aug 8, 2018

Looks like I just forgot to merge. I'll self-review again when I have time

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

Successfully merging this pull request may close these issues.

3 participants