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

Display Workspaces in the output of pipeline/pipelinerun describe command #1142

Conversation

vinamra28
Copy link
Member

@vinamra28 vinamra28 commented Aug 25, 2020

Changes

The workspaces declared in the pipeline/pipelinerun will be displayed in the output of their respective describe command.

  • When we will do tkn pipeline desc <pipeline-name> workspace name and description will be displayed in the output
  • When we will do tkn pipelinerun desc <pipelinerun-name> workspace name, subdir and workspace binding will be displayed as part of output

Closes #1048

Signed-off-by: vinamra28 vinjain@redhat.com

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you
review them:

  • Includes tests (if functionality changed/added)
  • Run the code checkers with make check
  • Regenerate the manpages, docs and go formatting with make generated
  • Commit messages follow commit message best practices

See the contribution guide
for more details.

Release Notes

- Display workspace name and description in the output of pipeline describe command
- Display workspace name, subdir and workspace binding in the output of pipelinerun describe command

The workspaces declared in the Pipeline will be displayed in the output of pipeline describe command. When we will do `tkn pipeline desc <name>` workspace name and description will be displayed in the output.

Signed-off-by: vinamra28 <vinjain@redhat.com>
@tekton-robot tekton-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. labels Aug 25, 2020
@tekton-robot tekton-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Aug 25, 2020
@vdemeester vdemeester added this to the 0.12.0 milestone Aug 25, 2020
@vinamra28
Copy link
Member Author

/test pull-tekton-cli-integration-tests-0_10

@vinamra28 vinamra28 changed the title WIP: Display Workspaces in the output of pipeline/pipelinerun describe command Display Workspaces in the output of pipeline/pipelinerun describe command Aug 26, 2020
@tekton-robot tekton-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Aug 26, 2020
@vinamra28
Copy link
Member Author

/test pull-tekton-cli-integration-tests-0_10

1 similar comment
@vinamra28
Copy link
Member Author

/test pull-tekton-cli-integration-tests-0_10

@vinamra28 vinamra28 force-pushed the vinamra28/pipeline-pipelinerun-describe-workspaces branch from ee377b1 to d3be21a Compare August 26, 2020 06:32
@vinamra28
Copy link
Member Author

/test pull-tekton-cli-integration-tests-0_10

Copy link
Member

@vdemeester vdemeester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tekton-robot
Copy link
Contributor

@vdemeester: cat image

In response to this:

/meow
/cc @piyush-garg @pradeepitm12 @danielhelfand

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.

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 26, 2020
The workspaces declared in the PipelineRun will be displayed in the output of pipelinerun describe command. When we will do `tkn pipelinerun desc <name>` workspace name, subpath and workspace binding will be displayed in the output.

Signed-off-by: vinamra28 <vinjain@redhat.com>
@vinamra28 vinamra28 force-pushed the vinamra28/pipeline-pipelinerun-describe-workspaces branch from d3be21a to 9b7e53d Compare August 26, 2020 09:43
Copy link
Contributor

@piyush-garg piyush-garg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 26, 2020
@tekton-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: piyush-garg, 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:
  • OWNERS [piyush-garg,vdemeester]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@piyush-garg
Copy link
Contributor

/test pull-tekton-cli-integration-tests-0_10

@tekton-robot tekton-robot merged commit a77f5ff into tektoncd:master Aug 26, 2020
@vinamra28 vinamra28 deleted the vinamra28/pipeline-pipelinerun-describe-workspaces branch August 26, 2020 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pipeline/PipelineRun describe: display workspace
4 participants