-
Notifications
You must be signed in to change notification settings - Fork 249
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 describe subcommand #37
Conversation
/ok-to-test |
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.
👍
/retest |
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.
Thanks!! 👍 @pradeepitm12
Also, could we keep a line gap between printing each resource and make resource name in plural form like TASKS
, RUNS
?
e.g.
NAME : pipeline
RESOURCES
NAME TYPE
No resources
TASKS
NAME TASKREF RUNAFTER
No tasks
RUNS
NAME STARTED DURATION STATUS
pipeline-run-1 15 minutes ago 10 minutes Succeeded
/retest |
@vdemeester could you review it, please? |
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.
Could you please address the comment and squash the commit messages?
/retest |
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.
I think we don't need to UPPERCASE everything I think 👼 (only the table column headers), like below
Name : voting-build-pipeline
Resources
NAME TYPE
samples-git git
voting-vote-image image
voting-worker-image image
voting-result-image image
Tasks
NAME TASKREF RUNAFTER
build-worker mvn-build []
build-worker-image buildah []
build-vote-image buildah []
build-result-image buildah []
Runs
No runs
Otherwise, few comments, but looks good 👍
/retest |
This adds a describe subcommand to pipeline subcommand,to describe given pipeline. eg - tkn pipeline describe pipelinename Signed-off-by: Pradeep Kumar <pradkuma@redhat.com>
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: hrishin, piyush-garg, pradeepitm12, 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 a describe subcommand to pipeline subcommand,to describe
given pipeline.
eg - tkn pipeline describe pipelinename
Signed-off-by: Pradeep Kumar pradkuma@redhat.com
Changes
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
See the contribution guide
for more details.
Release Notes