GitLab Version Control

To configure the version control using GitLab, you must perform the following tasks:

  1. Configuring Version Control Settings
  2. Generating a GitLab Token in the GitLab Profile
  3. Configuring a GitLab Token

Configuring Version Control Settings

You must have Account Update privileges to perform this task.

Configuration

Follow the instructions below to configure Version Control System:

  1. Navigate to Home >> Control Panel >> Account Settings.
  2. On the Account Settings page, scroll down to the Version Control Settings section.
  3. From the Version Control Provider drop-down list, select GitLab.
  4. From the Repository Hosting Type drop-down list, select Service-managed.
  5. For Service-managed, the API Endpoint is auto-populated.
  6. Click Save.

The following figure shows a sample Version Control Settings section.

../../../_images/vcs-gitlab.png

The following figure shows a sample Version Control Settings section with the Self-managed and Bastion node options.

../../../_images/gitlab-self-managed.png

Generating a GitLab Token in the GitLab Profile

As a prerequisite, you must obtain a GitLab token. Perform the following steps:

  1. Create a GitLab token by following the GitLab Documentation.
  2. Copy the generated GitLab token to configure it in the Qubole account.

Configuring a GitLab Token

You can configure a GitLab Token from the My Accounts UI.

  1. Navigate to Control Panel >> My Accounts.
  2. For your account, under GitLab Token column, click Configure.
  3. Add the generated GitLab token and click Save.

The GitHub token is configured at per user and per account setting level.