I have a working Tekton Pipeline that is successfully triggered by a GitHub webhook, but it doesn't work with Gitlab webhook. I can see that the Gitlab webhook is triggered and that it gets to the EventListener container in OpenShift, but the Pipeline itself does not run. So, does it work with Gitlab webhooks? If so, is there something that I need to setup or change so that it actually triggers the pipeline?
Thanks! Cesar
A Tekton Trigger can initiated by any http-request, so if you use a GitHub-webhook, a GitLab webhook or a
curl
command should not matter.However, those webhook requests provide data in a slightly different json-format, so to pass parameters to the Pipeline, you need to properly configure the TriggerBinding matching the request that you receive. You probably need a different
TriggerBinding
for GitLab than for GitHub.it is hard to answer this part without more information. Any error message?