Skip to main content

Integrating with GitLab

Deploy to and from your hosted GitLab source control provider using Gearset

Valerio Chang avatar
Written by Valerio Chang
Updated this week

Connecting to your source control repository with Gearset allows you to deploy to and from your source of truth. This article shows you how simple it is to connect to your cloud-based repo on GitLab.

If your GitLab repository is not on the URL https://gitlab.com/, it's likely you have an on-premise instance, called Self-managed GitLab. See Integrating with self-managed GitLab to guide you through that process.

To connect to your GitLab account to Gearset, head to the Source control and services page and click Connect to GitLab.

This will take you to GitLab's OAuth page for authentication.

Double-check that your organization has given us access to your repo. You may see the error "Gearset can't find any repositories" which likely means you must request access from the repository owner(s). Once you are ready to proceed, click Authorize and type in your password.

Once complete, it should look like this (with your authenticated GitLab username being visible):

Additionally, your GitLab applications settings should list Gearset as an authorized app. Here, you have the ability to revoke the application at any time. You can follow the link above, or click on your Profile image in Gitlab, select Preferences from the dropdown. Then you can find the Applications menu.

Did this answer your question?