-
Notifications
You must be signed in to change notification settings - Fork 250
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
Add --all-namespaces --no-headers flags to task and pipeline list subcommand #840
Add --all-namespaces --no-headers flags to task and pipeline list subcommand #840
Conversation
6d93934
to
9b6ab0f
Compare
/test pull-tekton-cli-integration-tests |
4511c2f
to
14bbb81
Compare
/test pull-tekton-cli-integration-tests |
03b88b9
to
9ccc86f
Compare
/test pull-tekton-cli-integration-tests |
9ccc86f
to
77c8047
Compare
d07f058
to
ed18f5b
Compare
/test pull-tekton-cli-integration-tests |
5 similar comments
/test pull-tekton-cli-integration-tests |
/test pull-tekton-cli-integration-tests |
/test pull-tekton-cli-integration-tests |
/test pull-tekton-cli-integration-tests |
/test pull-tekton-cli-integration-tests |
@danielhelfand Based on my last comment
I feel this seems like a bug in testing. As certain aspects of seeddata generation in unit testing are flawed, with us not able to specify namespaces which should be present for a unit test. The |
A solution may be to avoid checking for a namespace if Line 51 in 4450ca5
|
9a4ebec
to
04da808
Compare
@danielhelfand You were right, updating namespace checking condition as you said did work ! 🤗 I spent quite some time before trying to solve for this error, and stumbled on kube testing source 🤕 . |
04da808
to
18d6406
Compare
18d6406
to
c33031a
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.
/lgtm
--no-headers flag helps omit the headers or the index row of the output while printing. This allows the user to parse the output without having to deal with the headers in the output. --all-namespaces flag helps to print Tasks from all namespaces. These tasks are grouped by namespace and then sorted based on StartTime
--no-headers flag helps omit the headers or the index row of the output while printing. This allows the user to parse the output without having to deal with the headers in the output. --all-namespaces flag helps to print Pipelines from all namespaces. These tasks are grouped by namespace and then sorted based on StartTime.
Add man page and docs for the two flags
c33031a
to
aecdac3
Compare
@pradeepitm12 Can you PTAL ? |
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.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: danielhelfand 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 |
@waveywaves Thanks for addressing all the reviews. |
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
The failure here does seem related:
|
/test pull-tekton-cli-integration-tests-0_10 |
@danielhelfand Seems like a flake. The only change is in the age of the pipeline |
Signed-off-by: Vibhav Bobade vibhav.bobde@gmail.com
Changes
Add flags for task and pipeline
list
subcommandlist
--all-namespaceslist
--no-headerslist
--all-namespaceslist
--no-headersSubmitter 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