-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not fail pipelinerun if a taskrun is skipped due to failed conditi…
…on checks Currently, a PipelineRun is marked failed if any TaskRun fails i.e its `ConditionSuceeded` is false. This commit changes the behavior to not fail the pipeline ONLY for those taskruns which are marked failed due to a condition check failure (i.e. the taskrun was skipped). Also, fixes a bug where pipelineruns with only one task with a failing condition would be running forever (until the timeout)
- Loading branch information
Showing
3 changed files
with
37 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters