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

fix: Don't skip deploy if previous equivalent deployment failed #247

Merged
merged 2 commits into from
Aug 20, 2019

Conversation

tbarlow12
Copy link
Contributor

Currently, if a deployment fails and the next deployment's template & parameters are identical, the deployment will be skipped. This adds the check to see if the deployment was successful.

Resolves AB#852

@coveralls
Copy link

coveralls commented Aug 16, 2019

Coverage Status

Coverage increased (+0.3%) to 84.632% when pulling 593eecd on tabarlow/deploy-skip into 9e3fcac on dev.

Copy link
Contributor

@mydiemho mydiemho left a comment

Choose a reason for hiding this comment

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

small naming suggestion

@@ -8,6 +8,11 @@ export interface ArmResourceTemplateGenerator {
getParameters(config: ServerlessAzureConfig): any;
}

export enum ArmTemplateProvisioningState {
Failed = "Failed",
Copy link
Contributor

Choose a reason for hiding this comment

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

enum should be all capitalized

Copy link
Contributor

@PIC123 PIC123 left a comment

Choose a reason for hiding this comment

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

LGTM!

@tbarlow12 tbarlow12 merged commit b916e25 into dev Aug 20, 2019
@tbarlow12 tbarlow12 deleted the tabarlow/deploy-skip branch August 20, 2019 00:05
tbarlow12 added a commit that referenced this pull request Sep 13, 2019
Currently, if a deployment fails and the next deployment's template & parameters are identical, the deployment will be skipped. This adds the check to see if the deployment was successful.

Resolves AB#852
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.

4 participants