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(dependent pipelines): failure to trigger a dependend pipeline shouldn't affect others #3258

Merged

Conversation

marchello2000
Copy link
Contributor

Failure in planning a, say, a single v2 templated pipeline will cause no dependent pipelines to start.
This is due to exception not being localized to each individual pipeline

…uldn't affect others

Failure in planning a, say, a single v2 templated pipeline will cause no dependent pipelines to start.
This is due to exception not being localized to each individual pipeline
} else {
return pipeline
}
}
}.findAll({ pipeline ->
Copy link
Contributor Author

Choose a reason for hiding this comment

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

oh, i don't need this anymore...

try {
return V2Util.planPipeline(contextParameterProcessor, executionPreprocessors, pipeline)
} catch (Exception e) {
log.error("Failed to plan V2 templated pipeline {}", pipeline.getOrDefault("id", "<UNKNOWN ID>"), e)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

should prob add a metric for this? what do you think @dreynaud ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thought unless it's on the dashboard noone will look at it.. 🤷‍♂

Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think there's necessarily a lot of value in throwing that on a dashboard. Is it a page-able offense though? If yes it deserves a metric, otherwise let's keep it in logs

Copy link
Contributor

@louisjimenez louisjimenez left a comment

Choose a reason for hiding this comment

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

Nice, thanks for fixing this. 👍

@marchello2000 marchello2000 added the ready to merge Approved and ready for merge label Oct 25, 2019
@mergify mergify bot added the auto merged Merged automatically by a bot label Oct 25, 2019
@mergify mergify bot merged commit 7f02cb8 into spinnaker:master Oct 25, 2019
@marchello2000 marchello2000 deleted the mark/dependent_pipelie_errorhandler branch November 1, 2019 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto merged Merged automatically by a bot ready to merge Approved and ready for merge target-release/1.17
Projects
None yet
5 participants