forked from tektoncd/pipeline
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Use a helper for setting the Succeeded condition on PipelineR…
…un." PR tektoncd#2749 introduces helpers to set the completion time along with setting the Succeeded condition to Unknown, True or False. This is fine, however in combination with a previous issue, whereby we update the Succeeded condition to False in case of failure as soon as the first failure is encountered, this results in having the completion time set as soon as the first failure is encountered, which may not match the actual completion time of the pipeline run, in case other tasks were already running when the initial failure occurred. For v0.13.x we shall keep completion time and condition update separated. Next release will include this plus a fix to the original issue. This reverts commit 8ff3169.
- Loading branch information
Showing
2 changed files
with
147 additions
and
86 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