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.
Refactor some taskrun fields into helper functions
This commit refactors the labels, annotations, default timeouts, and service account fields from taskruns into helper functions. This will allow us to easily reuse some common defaults for regular taskruns as well as those created for conditionals in tektoncd#1093 Also, this replaces some of the TestReconcile_ funcs that were testing only the functionality in these new helper functions with their own dedicated unit tests Signed-off-by: Dibyo Mukherjee <dibyo@google.com>
- Loading branch information
Showing
2 changed files
with
139 additions
and
290 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
Oops, something went wrong.