-
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.
Split reconcile into prepare and reconcile
The current "reconcile" function does a lot of things, which means it's hard to test properly, it's hard to follow the logic and it's hard to handle all possible errors and events properly. This splits reconcile into two parts, the first one that deals preparing and validating the taskrun and all the resources it depends on, the second one that actually reconciles the TaskRun by creating the pod if required and updating the TaskRun from the pod. This adds events that were missing for error situations that happen during preparation and validation.
- Loading branch information
Showing
6 changed files
with
118 additions
and
68 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
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
Oops, something went wrong.