-
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
Refactor test cases for remote TaskRef #6778
Refactor test cases for remote TaskRef #6778
Conversation
fe28e3a
to
634d6c7
Compare
/kind cleanup |
634d6c7
to
27672e4
Compare
27672e4
to
244a678
Compare
244a678
to
baf2f1d
Compare
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.
@JeromeJu can you please add a bit more detail to your commit message about why we're separating local, resolution, and bundle tests from each other?
baf2f1d
to
d6677c7
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lbernick 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 |
This commit refactors the test cases for taskRef_Test by: - separate the TestGetTaskFunc for local, resolution and bundle tests since part of the syntax has deprecated in v1beta1 and diverged when we are going to move to v1. - creats a separated test class TestGetTaskFunc_Bundle since there would be no field in bundle resolvers - remove the test cases regarding remote tasks ie. remote task without defaults in TestGetTaskFunc to TestGetTaskFunc_Remoteresolution and renames it to TestGetTaskFunc_Local - change the test cases where bundle resolver is used for the remote clusterTask, which does not make sense as a functionality given it is valid
d6677c7
to
f17c1de
Compare
/retest |
/lgtm |
/test pull-tekton-pipeline-beta-integration-tests |
This commit refactors the test cases related with remote pipelineRef, which separates the original TestGetTaskFunc to local, bundle and remote due to the syntax of v1beta1 bundle has been deprecated in v1 and replaced with the bundle resolver. This is similar to the cleanup for TaskRef in tektoncd#6778
This commit refactors the test cases related with remote pipelineRef, which separates the original TestGetTaskFunc to local, bundle and remote due to the syntax of v1beta1 bundle has been deprecated in v1 and replaced with the bundle resolver. This is similar to the cleanup for TaskRef in tektoncd#6778
This commit refactors the test cases related with remote pipelineRef, which separates the original TestGetTaskFunc to local, bundle and remote due to the syntax of v1beta1 bundle has been deprecated in v1 and replaced with the bundle resolver. This is similar to the cleanup for TaskRef in tektoncd#6778
This commit refactors the test cases related with remote pipelineRef, which separates the original TestGetTaskFunc to local, bundle and remote due to the syntax of v1beta1 bundle has been deprecated in v1 and replaced with the bundle resolver. This is similar to the cleanup for TaskRef in tektoncd#6778
This commit refactors the test cases related with remote pipelineRef, which separates the original TestGetTaskFunc to local, bundle and remote due to the syntax of v1beta1 bundle has been deprecated in v1 and replaced with the bundle resolver. This is similar to the cleanup for TaskRef in #6778
Changes
This commit refactors the test cases for taskRef_Test by:
since part of the syntax has deprecated in v1beta1 and diverged when
we are going to move to v1.
be no
taskref.name
field in bundle resolversdefaults in TestGetTaskFunc to TestGetTaskFunc_Remoteresolution and
renames it to TestGetTaskFunc_Local
clusterTask, which does not make sense as a functionality given it is valid
/kind cleanup
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