-
Notifications
You must be signed in to change notification settings - Fork 255
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 EventListener Logs Command #1192
Conversation
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
@dibyom Please feel free to review if you have any suggestions. |
The following is the coverage report on the affected files.
|
/test pull-tekton-cli-integration-tests |
Just tried this out, looks great. Thanks @danielhelfand The only minor nitpick is that using /lgtm |
Yeah, that's a good point on the UX of it. I was trying to base this off
However, I think an explicit flag for it sounds better as you point out. |
Oh, I didn't realize kubectl uses -1. In that case, maybe we can just stick with that? |
So I guess
Maybe I can bring up in the working group this week to get some opinions. It seems |
The following is the coverage report on the affected files.
|
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.
/meow
/cc @piyush-garg @chmouel
In response to this:
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. |
[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:
Approvers can indicate their approval by writing |
It would be nice if we refactor it like other logs command, but for now, let's get this in. |
#1194 | [Daniel Helfand] update README to v0.13.0 | 2020/09/30-22:18 #1196 | [Chmouel Boudjnah] Update OSX instruction to install from brew 🍻 | 2020/10/02-11:36 #1197 | [Daniel Helfand] reorganize release process docs and add details | 2020/10/07-07:26 #1192 | [Daniel Helfand] add eventlistener logs command | 2020/10/07-08:00 #1198 | [Matt Moore] Bump Knative/K8s dependencies | 2020/10/08-00:34 #1201 | [Daniel Helfand] avoid use of previous TaskRunSpecStatus and PipelineRunSpecStatus | 2020/10/13-17:32 #1205 | [Daniel Helfand] remove assertions to help with debugging eventlistener e2e failures | 2020/10/20-07:27 #1207 | [Piyush Garg] tkn pr describe failing in pr with conditions | 2020/10/20-08:57 #1189 | [Daniel Helfand] refactor pipelinerun and taskrun cancel err based on condition status | 2020/10/20-09:15 #1189 | [Daniel Helfand] add pipelinerun and taskrun cancel e2e tests | 2020/10/20-09:15 null | [Daniel Helfand] common way of referring to tekton resources in user facing messages: EventListener | 2020/10/21-07:21 null | [Daniel Helfand] common way of referring to tekton resources in user facing messages: TriggerBinding | 2020/10/21-08:00 Signed-off-by: Piyush Garg <[email protected]>
Part of #1030
This pull request adds a command for viewing logs of EventListener pods. Follow functionality is outside the scope of this pull request. A tail option is is supported with this command to reduce the amount of most recent log lines a user will see.
Example:
Unit testing this feature is difficult since the triggers resources for seed test data doesn't offer the ability to specify pods as part of test data. So I have added e2e testing and will look towards identifying or adding pieces needed for unit testing.
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
make check
make generated
Release Notes