Skip to content
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

"List Taskrun" menu on a pipeline should only list the pipeline's taskrun #91

Closed
vdemeester opened this issue Nov 25, 2019 · 8 comments · Fixed by #281
Closed

"List Taskrun" menu on a pipeline should only list the pipeline's taskrun #91

vdemeester opened this issue Nov 25, 2019 · 8 comments · Fixed by #281
Assignees
Labels
enhancement New feature or request priority/high size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Milestone

Comments

@vdemeester
Copy link
Member

Currently, it does only a tkn taskrun list, thus showing all the taskrun instead of the one related to the selected pipeline.

@vdemeester vdemeester added the enhancement New feature or request label Nov 25, 2019
@dgolovin
Copy link
Contributor

@vdemeester there is no tkn command to do this. Is tkn describe good replacement for that?

@vdemeester
Copy link
Member Author

@dgolovin that's a good point 😝 we need a way to filter tkn taskrun list (and others) using label selector in tkn.

But yeah for now, I'm guessing we could have tkn pipeline describe instead

@siamaksade
Copy link

Relates to tektoncd/cli#617

@siamaksade
Copy link

Wouldn't tkn taskrun list | grep [pipelinerun-name] give the same result right now?

@dgolovin
Copy link
Contributor

yes, but only for users on linux and macOS machines.

@siamaksade
Copy link

Ah yea. Is there any equivalent command for Win? findstr perhaps

This is just a workaround till tektoncd/cli#617 is fixed. Another alternative is to remove the "List Taskrun" menu till filtering is added to the CLI

@evidolob
Copy link
Collaborator

@siamaksade We can achieve this with plain kubectl

@siamaksade
Copy link

@evidolob right, specially given the new labels on the taskruns, we can just filter out the taskruns based on the pipelinerun label: tektoncd/pipeline#2457

@siamaksade siamaksade added this to the Sprint #184 milestone May 4, 2020
@evidolob evidolob self-assigned this May 13, 2020
@evidolob evidolob added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. and removed blocked labels May 13, 2020
evidolob added a commit that referenced this issue May 14, 2020
Signed-off-by: Yevhen Vydolob <yvydolob@redhat.com>
evidolob added a commit that referenced this issue May 15, 2020
Signed-off-by: Yevhen Vydolob <yvydolob@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority/high size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants