← All integrations
GitLab

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 free

How 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.

GitLab
  • gitlabApi Read code, commits, merge requests and pipelines in the connected GitLab group
  • gitlabFetchFiles Fetch file contents from a GitLab project
  • gitlabSearch Search code, merge requests, issues, commits and projects in the connected GitLab group
  • gitlabCommits Read commits in a GitLab project (list/getDiff)
  • gitlabMergeRequests Read merge requests in a GitLab project (list/get)
  • gitlabGetMergeRequestDiff Get the diff of a GitLab merge request
  • gitlabPipelines Read GitLab CI/CD pipelines, jobs and job logs (list/get/jobs/jobLog)
  • gitlabCloseMergeRequest Close a GitLab merge request Polylane opened
  • gitlabCreateBranch Create a new branch in a GitLab project

Recent updates

All updates in the changelog

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.

Connect it once. Then get back to shipping.