-
Notifications
You must be signed in to change notification settings - Fork 420
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
Added URL field to WebhookInterceptor #1002
Conversation
Hi @mpetason. 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 Once the patch is verified, the new status will be reflected by the 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 |
@mpetason Thank you for this PR! |
Thanks @mpetason 1We should also ensure that this new field can be used to resolve the Webhook URL i.e. if the URL field is present we should use that instead of trying to resolve using the Service name. The change should be around here: https://github.com/tektoncd/triggers/blob/main/pkg/interceptors/webhook/webhook.go#L88 |
Thanks for the update. I'll take a look and see if I can fix that and submit an update to the PR. |
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
/test pull-tekton-triggers-integration-tests |
Nice. Thanks @mpetason One small thing - could you please squash up the commits into one? Otherwise good to go/ /approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dibyom 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 |
Updated with update-codgen.sh Updated webhook.go to use the URL if defined in the WebhookInterceptor Changed if/elseif/else to switch based on test feedback
The following is the coverage report on the affected files.
|
/lgtm |
I think some of the tests are stuck, maybe I don't have permissions to force a retest on all? It doesn't look like /test or /retest triggered it. When I look at "Details" it doesn't link to anything valid. |
/retest |
Changes
Added URL field to WebhookInterceptor in trigger_types
Fixes #270
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