You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.
GitLab is a popular source control system that many users will wish to integrate with Tekton via webhooks. We currently use the Knative GitHub Event Source which does not support GitLab. This issue is part of Epic #42 which is ranked lower than Epic #40, 'Stop using Knative for webhooks.' Ideally #40 should be progressed before this issue - in particular, we need a clear design for
how we expect to register webhooks
how we expect to receive them
how we expect to trigger pipeline and taskruns as a result
This issue should focus on the GitLab-specific work that must be performed in all cases:
Is there a functional Golang library that we can use to register webhooks against GitLab?
What forms of credentials are best used?
Are the GibLab APIs consistent between the hosted and locally installed versions?
User this issue, develop a working prototype that:
Registers a webhook against a locally installed GitLab server
Triggers a PipelineRun as a result of a git push
The text was updated successfully, but these errors were encountered:
I have a very hacked together proof-of-concept for some of this:
My Changes:
Create client (GitHub/Gitlab) based on repo URL (as first pass) as create/delete webhook
Modify git pipelineresource to take a tlsVerify flag to disable certificate validation on git commands as using a self signed cert.
Modified interceptor to look for different headers/values
Modified test pipeline triggertemplate/bindings
Modified monitor binding for gitlab
Not verified:
Monitor task not coded for gitlab - would need changing
PullRequest pipelineresource not coded for gitlab - would either need fixing or need monitor task to use gitlab api directly for interactions with the merge request
GitLab is a popular source control system that many users will wish to integrate with Tekton via webhooks. We currently use the Knative GitHub Event Source which does not support GitLab. This issue is part of Epic #42 which is ranked lower than Epic #40, 'Stop using Knative for webhooks.' Ideally #40 should be progressed before this issue - in particular, we need a clear design for
This issue should focus on the GitLab-specific work that must be performed in all cases:
User this issue, develop a working prototype that:
git push
The text was updated successfully, but these errors were encountered: