Serverless function triggers (eventing)
Problem to solve
Currently, functions can only be invoked by sending a payload to the function's URL. As a user, I wish to be able to trigger this functions when another GitLab event happens.
Target audience
developers, operators
Further details
Proposal
Knative eventing has stabilized and we could create GitLab eventing for it. We would have a GitLab library in knative upstream to implement webhooks in the knative cluster.
Knative eventing supports listening from events from:
- Kubernetes
- GitHub
- GCP PubSub
ContainerSource
For the first eventing iteration we will support 1. Kubernetes
. This will be a standalone CRD controller that will register a webhook for a project. The webhook URL will be a service endpoint.
What does success look like, and how can we measure that?
Links / references
Edited by Daniel Gruesso