API referenceConsole
git
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

Connect GitLab from the terminal. Pass --help for the flags GitLab accepts.

Terminal
polylane integration connect --type gitlab

Disconnect

Disconnecting stops every sync and check and deletes the credentials Polylane held. Polylane removes what GitLab's API lets it remove. The following stays until you remove it yourself:

  • Polylane service account in the group (its token is revoked)
  • Polylane group webhook
Terminal
polylane integration disconnect <id>

Tools

9

Operations agents can perform in threads.

Api
Read code, commits, merge requests and pipelines in the connected GitLab group
Fetch Files
Fetch file contents from a GitLab project
Search
Search code, merge requests, issues, commits and projects in the connected GitLab group
Commits
Read commits in a GitLab project (list/getDiff)
Merge Requests
Read merge requests in a GitLab project (list/get)
Get Merge Request Diff
Get the diff of a GitLab merge request
Pipelines
Read GitLab CI/CD pipelines, jobs and job logs (list/get/jobs/jobLog)
Close Merge Request
Close a GitLab merge request Polylane opened
Create Branch
Create a new branch in a GitLab project