-
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
How to expose the EventListener to Bitbucket webhook #362
Comments
Hey @amlozano You are right that at the moment we do not have a built in BitBucket interceptor. That would definitely be a nice feature to add if you'd like to add it. We can follow the same patterns as the GitHub/Gitlab ones: https://github.com/tektoncd/triggers/blob/master/pkg/interceptors/github/github.go |
/kind feature |
Hi dibyom, I may have time to invest into the implementation, I have to check first since I am not really experienced with Golang and it might take too much time from my project to do that. I created the ticket to keep track of it at least, and if anyone with more experience wants to help, it would be awesome. |
Hi @amlozano |
@savitaashture no, sorry. I don’t find time now to work on this, plus we discarded going on with tekton for the moment. Maybe we will give it a try in the future. |
/assign |
@amlozano thank you for the conformation 👍 |
Looking for this feature for our use case using tekton pipelines. |
Expected Behavior
I can call an EventListener from Bitbucket, authorising the call with a token
Actual Behavior
I can configure a generic Webhook EventListener, but I don't find an easy way of exposing the EventListener to be called from BitBucket with a token Authentication. I can only think on exposing an interceptor that will handle the authentication, which requires a component to be coded from my side.
Steps to Reproduce the Problem
No steps needed
Additional Info
I was already able to trigger the pipeline from a generic webhook, doing port forwarding directly to the pod and calling it locally, but checking on how the GitLab and GitHub examples work, I would need an interceptor that checks for the token to be able to connect Bitbucket server with the webhook. Is there any plan to release a Bitbucket interceptor, or do I need to implement my own?
The text was updated successfully, but these errors were encountered: