-
Notifications
You must be signed in to change notification settings - Fork 253
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
Update ClusterTask Tests from Test Builders to Structs #1168
Conversation
{ | ||
name: "Dry run with no output v1beta1", | ||
command: []string{"start", "clustertask-2", | ||
"-i", "my-repo=git", | ||
"-o", "code-image=output-image", | ||
"-l", "key=value", | ||
"-s=svc1", | ||
"--dry-run", | ||
}, | ||
dynamic: seeds[4].dynamicClient, | ||
input: seeds[4].pipelineClient, | ||
inputStream: nil, | ||
wantError: false, | ||
goldenFile: true, | ||
}, |
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.
Not sure what this test was intended for. The name suggests it's a v1beta1
test, but it's part of the v1alpha1
suite.
@@ -1,23 +0,0 @@ | |||
apiVersion: tekton.dev/v1beta1 |
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.
This golden file appears to be unused.
...estdata/Test_ClusterTask_Start-Dry_Run_with_--use-param-defaults_and_specified_params.golden
Outdated
Show resolved
Hide resolved
...Test_ClusterTask_Start_v1beta1-Dry_Run_with_--use-param-defaults_and_specified_params.golden
Show resolved
Hide resolved
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.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: piyush-garg, vdemeester 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 |
#1167 | [Daniel Helfand] update condition tests from test builders to structs | 2020/09/16-11:10 #1154 | [vinamra28] Enable auto-select support in ClusterTaskDescribe if only one is present | 2020/09/16-17:00 #1154 | [vinamra28] Enable auto-select support in TaskRunDescribe if only one is present | 2020/09/16-17:00 #1173 | [Daniel Helfand] update README versions for v0.12.1 | 2020/09/16-17:21 #1176 | [Bart] Artwork/Logo added to the top of the README. | 2020/09/16-18:14 #1172 | [Chmouel Boudjnah] Fix rpm build for release | 2020/09/17-14:34 #1168 | [Daniel Helfand] update clustertask tests from test builders to structs | 2020/09/18-13:26 #1177 | [Vincent Demeester] tests: import pipeline internal builders 🏒 | 2020/09/18-17:31 #1179 | [vinamra28] Use --prefix-name option for tkn clustertask start | 2020/09/18-23:07 #1182 | [Daniel Helfand] update pipelineresource tests from test builders to structs | 2020/09/21-14:29 null | [Vincent Demeester] Remove release-note block indentation in PR template 🌮 | 2020/09/22-11:57 null | [savitaashture] Modify tkn version to accept ldflag and namespace flag | 2020/09/24-10:14 null | [savitaashture] Fix deployment fetch issue for multiple namespaces | 2020/09/25-11:54 null | [PuneetPunamiya] This patch fixes: | 2020/09/28-19:27 null | [Divyansh42] Modify tkn version output to hide Triggers and Dashboard version if they are not installed and added required unit tests. | 2020/09/29-04:57 null | [Piyush Garg] Bump pipeline and triggers dep | 2020/09/29-13:55 null | [Divyansh42] Enable auto-select support in pipelineDescribe if only one pipeline is present | 2020/09/29-17:29 null | [vinamra28] Add --use-taskrun for ClusterTask start | 2020/09/30-11:08 null | [Divyansh42] Enable auto select support in PipelineRunDescribe if only one PipelineRun is present | 2020/09/30-13:13 Signed-off-by: Daniel Helfand <[email protected]>
Part of #1145
Migrating unit tests for
tkn clustertask
from test builders to structs.Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
make check
make generated
Release Notes