← All integrations
GitLab integration. Read your code, link projects to what they deploy, and catch failed pipelines.
Polylane reads the code in your GitLab group, links each project to the resources it deploys, and raises an issue when a pipeline fails on the default branch. Works with GitLab.com and self-managed instances.
Start freeHow to set up GitLab
Paste this prompt into your coding agent. It installs the Polylane CLI if you need it, signs you in and connects GitLab.
Here's what Polylane does with GitLab: Polylane reads the code in your GitLab group, links each project to the resources it deploys, and raises an issue when a pipeline fails on the default branch. Works with GitLab.com and self-managed instances. I want that, so connect GitLab to my Polylane workspace. If the Polylane CLI isn't installed or I'm not signed in, set that up first by following https://polylane.com/auth.md. Then connect GitLab with `polylane integration connect`: run `polylane integration connect --help` to find the GitLab option and its flags. If the CLI doesn't offer GitLab, open https://console.polylane.com and walk me through connecting it there. The setup steps and the access GitLab needs are at https://polylane.com/integrations/gitlab/. Ask me for anything you need, like a token or an approval in the browser. When you're done, run `polylane integration list` and tell me whether GitLab is connected.
GitLab tools.
The calls Polylane can make to GitLab when it looks into an issue.
-
gitlabApiRead code, commits, merge requests and pipelines in the connected GitLab group -
gitlabFetchFilesFetch file contents from a GitLab project -
gitlabSearchSearch code, merge requests, issues, commits and projects in the connected GitLab group -
gitlabCommitsRead commits in a GitLab project (list/getDiff) -
gitlabMergeRequestsRead merge requests in a GitLab project (list/get) -
gitlabGetMergeRequestDiffGet the diff of a GitLab merge request -
gitlabPipelinesRead GitLab CI/CD pipelines, jobs and job logs (list/get/jobs/jobLog) -
gitlabCloseMergeRequestClose a GitLab merge request Polylane opened -
gitlabCreateBranchCreate a new branch in a GitLab project
Recent updates
- Polylane for Security: a security review on every pull request Polylane now reviews the code each pull request adds for security flaws and posts only the flaws it confirms, on GitHub and GitLab, for every workspace.
- GitLab groups: code, pipelines and merge requests with fixes Connect a GitLab group on GitLab.com or a self-managed instance so Polylane reads its code, watches its pipelines and opens merge requests with fixes.
Common questions
How does Polylane work with GitLab?
Polylane reads the code in your GitLab group, links each project to the resources it deploys, and raises an issue when a pipeline fails on the default branch. Works with GitLab.com and self-managed instances.