-
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.
Fail PipelineRun when it can't create Runs
Prior to this commit, if a PipelineRun couldn't create TaskRuns, the resulting error would be requeued and the PipelineRun controller would continue to retry. The PipelineRun status would represent the outcome of a previous reconcile loop, which sometimes resulted in PipelineRun statuses that didn't match what was occuring on the cluster. This commit marks a PipelineRun as failed and returns a permanent error if TaskRun or CustomRun creation fails for a non-retryable reason.
- Loading branch information
1 parent
29ddf85
commit 937c8c0
Showing
2 changed files
with
150 additions
and
13 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