-
Notifications
You must be signed in to change notification settings - Fork 265
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 API, actions, and reducers to get Triggers resources #686
Conversation
9168675
to
a4f473e
Compare
a4f473e
to
d6fd366
Compare
🙄 |
/retest |
Plumbing chinwag raised: https://tektoncd.slack.com/archives/CJ4ERJWAU/p1572610739084900 |
/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.
everything looks good to me! just a minor question regarding the api call for TriggerBindings
. Also, no tests for triggerTemplates
and triggerBindings
reducers?
d6fd366
to
6a8032a
Compare
/test pull-tekton-dashboard-integration-tests |
#447 issue made for dealing with the failing integration tests |
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.
Overall looks great! I just have a handful of minor nits, and a question about the filters
option; if we're including filters
for one of the Triggers resources, we should probably do it for all of them, and I think this was missing for the EventListener & TriggerTemplate actions.
1f94797
to
229ca4d
Compare
229ca4d
to
d6399d8
Compare
Rebased |
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 for the changes Adam! Just one small nit I found 😄
d6399d8
to
867fc2a
Compare
Pushed 😄 |
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.
Awesome, thanks for making those changes Adam!
(I don't remember how my powers work in this repo, but let's try this)
/lgtm
/meow space
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. |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: a-roberts, ncskier 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 |
Just noticed that the reducers are not specified in |
How about this? I've just done a quick copy job mind you, so not tested
|
correct but missing triggerTemplates for example goes:
|
Ok, yeah let's do that then (the follow up PR to add with a combination of our comments above) 😄 |
Changes
For #665
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.
Hold on, think this is the code but let's see if it actually gets ok
Manual test:
(from Triggers example repo), then using the API gives...
http://localhost:9097/proxy/apis/tekton.dev/v1alpha1/namespaces/tekton-pipelines/triggertemplates/
->
http://localhost:9097/proxy/apis/tekton.dev/v1alpha1/namespaces/tekton-pipelines/triggerbindings/
->
http://localhost:9097/proxy/apis/tekton.dev/v1alpha1/namespaces/tekton-pipelines/eventlisteners/
->