-
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
v1beta1 support for pipeline list cmd #832
Conversation
The following is the coverage report on pkg/.
|
/test pull-tekton-cli-unit-tests |
/retest |
I'm wondering if tektoncd/pipeline#2186 is related to this failure? The errors look very similar to when we tried to release using the go test Task from the catalog that had been updated to v1.14. cc @vdemeester Edit: More specifically tektoncd/plumbing#279? |
Opened #833, which should resolve the unit test issue. Seems to be more of an issue with format of the error from the http client. |
The following is the coverage report on pkg/.
|
@danielhelfand Thanks for the quick bug fix and 👍 |
pkg/pipeline/pipeline.go
Outdated
func List(c *cli.Clients, opts metav1.ListOptions, ns string) (*v1beta1.PipelineList, error) { | ||
|
||
pipelineGroupResource := schema.GroupVersionResource{Group: "tekton.dev", Resource: "pipelines"} | ||
unstructuredTR, err := plist.AllObjecs(pipelineGroupResource, c, ns, opts) |
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.
Any reason for calling this unstructuredTR
? Maybe change to P
or Ps
for pipelines?
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.
Good catch it's my bad, copy-paste err
this adds v1beta1 support for pipeline list command minor refactor to taskrun list Signed-off-by: Pradeep Kumar [email protected]
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.
/meow
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
The following is the coverage report on pkg/.
|
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: danielhelfand, 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 |
this adds v1beta1 support for pipeline list command
minor refactor to taskrun list
Signed-off-by: Pradeep Kumar [email protected]
Changes
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
make check
make generated
See the contribution guide
for more details.
Release Notes