GitLab server (on-prem) connection guide

GitLab server (on-prem) connection guide

LinearB's paid plans include the ability to connect on-prem Git servers.

In order to connect your LinearB application to GitLab server (on-prem) you will need to do the following:

Select GitLab Server as your Git provider

In the source control selection dialog select GitLab Server.

IP Whitelisting

If your GitLab Server instance is available from the public internet, you can skip this step.

In order for LinearB to be able to access your private network, you will need to add LinearB’s public IP as a whitelisted source in your network firewall.

  • LinearB’s public IP addresses:

In case that your network is behind a VPN, it is standard to have some reverse proxy that allows LinearB specific access to GitLab Server.

Insert your GitLab server URL

Once you whitelist LinearB IP in your network insert your GitLab's server URL. LinearB will automatically check connectivity to your GitLab server. Once the connection is established you will be able to move to the next stage

Create a Personal Access Token

Make sure to select a GitLab user which has "Maintainer" or "Owner" access to your org, or is a "Member" of all relevant repos.
  • Log in to GitLab Server.
  • In the upper-right corner, click your avatar and select Settings.

  • On the User Settings menu, select Access Tokens.
  • Choose a name and optional expiry date for the token.
  • Select the following access scopes: read_user, api, read_repository, write_repository.
  • Click the Create personal access token button.

Copy the token to a secure file and hit continue.

Important: You will no longer be able to view the value of the token once you hit continue. Make sure you copied it first.

Paste the access token to the text box. LinearB will automatically check the validity of the access token. Once the access token is validated. You will be able to move to the next stage (Repository selection)

How did we do?

Powered by HelpDocs (opens in a new tab)