Add flag to list pipelineruns and taskruns from all namespaces#791
Add flag to list pipelineruns and taskruns from all namespaces#791tekton-robot merged 3 commits intotektoncd:masterfrom
Conversation
|
Hi @waveywaves. Thanks for your PR. I'm waiting for a tektoncd member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions 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. |
|
/cc @pradeepitm12 Any feedback on this? |
|
@danielhelfand can you /ok-to-test this ? |
|
/ok-to-test |
There was a problem hiding this comment.
@waveywaves Appreciated your efforts for this PR, could you please update the PR as per the comments.
2e9f02d to
de79f20
Compare
|
Could we have the same implementation as in
|
4e179d5 to
3296334
Compare
|
@ppitonak I ahve added the shorthand for all Namespaces |
|
The integration tests seem to be failing because what they are testing against is a string concat and not a template output |
|
All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the ℹ️ Googlers: Go here for more info. |
322212d to
c70ec29
Compare
|
The following is the coverage report on pkg/.
|
c70ec29 to
a508362
Compare
|
The following is the coverage report on pkg/.
|
a508362 to
9a8f430
Compare
|
The following is the coverage report on pkg/.
|
9a8f430 to
fdf774d
Compare
|
The following is the coverage report on pkg/.
|
|
/test pull-tekton-cli-build-tests |
|
Please add license to new files and also imports in the file needs to be formatted. |
fdf774d to
97628a8
Compare
|
The following is the coverage report on pkg/.
|
There was a problem hiding this comment.
You'll need to change check for if start time is nil:
if prs[j].Status.StartTime == nil {
return false
}
if prs[i].Status.StartTime == nil {
return true
}97628a8 to
b9287d6
Compare
|
The following is the coverage report on pkg/.
|
Passing the --all-namespaces flag to the taskrun list subcommands enables users to view taskruns in all namespaces grouped by namespace and sorted by startime
Passing the --all-namespaces flag to the pipelinerun list subcommands enables users to view pipelineruns in all namespaces grouped by namespace and sorted by startime
b9287d6 to
ccbccc3
Compare
|
The following is the coverage report on pkg/.
|
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: danielhelfand, piyush-garg The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Changes
partly fixes #785
Add
--all-namespacesflag tolistsubcommands for TaskRun and PipelineRun.This allows the user to list taskruns and pipelineruns in all namespaces respectively.
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
make checkmake generatedSee the contribution guide
for more details.
Release Notes