-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TEP-0142] Remote Resolution for StepAction #7321
[TEP-0142] Remote Resolution for StepAction #7321
Conversation
Skipping CI for Draft Pull Request. |
/test all |
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
/test pull-tekton-pipeline-unit-tests |
The following is the coverage report on the affected files.
|
@@ -51,7 +54,7 @@ type GetTaskRun func(string) (*v1.TaskRun, error) | |||
// GetTaskData will retrieve the Task metadata and Spec associated with the | |||
// provided TaskRun. This can come from a reference Task or from the TaskRun's | |||
// metadata and embedded TaskSpec. | |||
func GetTaskData(ctx context.Context, taskRun *v1.TaskRun, getTask GetTask, getStepAction GetStepAction) (*resolutionutil.ResolvedObjectMeta, *v1.TaskSpec, error) { | |||
func GetTaskData(ctx context.Context, taskRun *v1.TaskRun, getTask GetTask, tekton clientset.Interface, k8s kubernetes.Interface, requester remoteresource.Requester) (*resolutionutil.ResolvedObjectMeta, *v1.TaskSpec, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
another way not to pass those clients, requester here, is to move steps, err := extractStepActions(ctx, taskSpec, taskRun, tekton, k8s, requester)
out of this GetTaskData
.
/test pull-tekton-pipeline-unit-tests |
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
/test pull-tekton-pipeline-unit-tests |
The following is the coverage report on the affected files.
|
@tektoncd/core-maintainers @tektoncd/core-collaborators please take a look 🙏🏾 |
Thanks, but this PR is not ready yet, I'm adding tests to improve the coverage. 😂 |
/test pull-tekton-pipeline-unit-tests |
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
8ff2d92
to
c2d2f48
Compare
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
Thanks for all your help here @Yongxuanzhang 🎉 /approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: chitrangpatel The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
b6372c4
to
6fda995
Compare
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
6fda995
to
62defe2
Compare
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
/retest |
This commit is part of tektoncd#7259. It adds the remote resolution for StepAction. Signed-off-by: Yongxuan Zhang [email protected]
62defe2
to
87bcb3c
Compare
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
/retest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @Yongxuanzhang 🎉
/lgtm
Changes
This commit is part of #7259. It adds the remote resolution for StepAction.
/kind feature
Signed-off-by: Yongxuan Zhang [email protected]
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
/kind <type>
. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tepRelease Notes