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(monitored deploy): send complete notification on failure #3199

Merged

Conversation

marchello2000
Copy link
Contributor

When deploy fails we need to sent completion notification to the deployment monitor

When deploy fails we need to sent completion notification to the deployement monitor
Added ability to shrink cluster at the end of deploy (same as red/black, with `maxRemainingAsgs` param)
@marchello2000
Copy link
Contributor Author

@dreynaud I also added a shrinky stage while i was at it

MonitoredDeployStageData stageData = parent.mapTo(MonitoredDeployStageData.class)
if (stageData.deploymentMonitor.id) {
def evalContext = stageData.getChildStageContext()
MonitoredDeployInternalStageData internalStageData = new MonitoredDeployInternalStageData()
Copy link
Contributor

Choose a reason for hiding this comment

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

is there anything there to indicate that the deployment failed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@marchello2000 marchello2000 merged commit 728e9b0 into spinnaker:master Sep 30, 2019
@marchello2000 marchello2000 deleted the mark/send_completed_on_failure branch September 30, 2019 18:22
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