cli
cli copied to clipboard
Resolved the different log output issue for `tkn p logs` and `tkn pr logs`.
Changes
Added additional formatting options such as --prefix for tkn p logs, which prefixes each log line with the task name and step name to match the output format of tkn pr logs. This is done to resolve issue #2223 .
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)
- [x] Run the code checkers with
make check - [x] 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
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign pradeepitm12 after the PR has been reviewed.
You can assign the PR to them by writing /assign @pradeepitm12 in a comment when ready.
The full list of commands accepted by this bot can be found here.
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
Hi @Senjuti256. 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 /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.
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.
/ok-to-test
/retest
@Senjuti256 Can you please add some tests for it?
/retest
@Senjuti256: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:
| Test name | Commit | Details | Required | Rerun command |
|---|---|---|---|---|
| pull-tekton-cli-unit-tests | 0acf3eae5a2124f0c129bf44f5111ffcca144e93 | link | true | /test pull-tekton-cli-unit-tests |
| pull-tekton-cli-build-tests | 0acf3eae5a2124f0c129bf44f5111ffcca144e93 | link | true | /test pull-tekton-cli-build-tests |
| pull-tekton-cli-integration-tests | 0acf3eae5a2124f0c129bf44f5111ffcca144e93 | link | true | /test pull-tekton-cli-integration-tests |
Full PR test history. Your PR dashboard.
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. I understand the commands that are listed here.