Skip to main content

GitLab GitLab

GitLab is a web-based Git repository that provides free open and private repositories, issue-following capabilities, and wikis. It is a complete DevOps platform that enables professionals to perform all the tasks in a project—from project planning and source code management to monitoring and security. Additionally, it allows teams to collaborate and build better software.

Creating a GitLab connection

Select one of the following methods to create a GitHub connection:

Using OAuth

Creating your connection Written Step-By-Step Guide

  1. In the Blink platform, navigate to the Connections page > Add connection. A New Connection dialog box opens displaying icons of external service providers available.
  2. Select the GitLab icon. A dialog box with name of the connection and connection methods appear.
  3. (Optional) Edit the name of the connection. At a later stage you cannot edit the name.
  4. Click GitLab to authenticate using OAuth.
  5. Sign in using your credentials.

Using API token

Obtaining the credentials

note

Please note, when you hover when you move your cursor to the lower part of the arcade screen, navigation tabs will emerge. These tabs enable you to freely navigate through the tutorial at your convenience.

Follow the GitLab instructions in the following link for more information: Personal access tokens

  1. In the Blink platform, navigate to the Connections page > Add connection. A New Connection dialog box opens displaying icons of external service providers available.
  2. Select the GitHLab icon. A dialog box with name of the connection and connection methods appear.
  3. (Optional) Edit the name of the connection. At a later stage you cannot edit the name.
  4. Select API Token as the method to create the connection.
  5. Fill in the parameters:
    • The API token
    • If using on-prem Gitlab installation, one also needs to fill the API Address attribute for the GitLab plugin. The default API address is https://gitlab.com/api/v4.
  6. (Optional) Click Test Connection to test it.
  7. Click Create connection. The new connection appears on the Connections page.

Using SSH

An SSH connection is supported for the use of core.git

To create the connection you need:

  • An existing SSH private and public key pair or generate a new one. To generate a new SSH key pair can use the SSH-keygen command.

Obtaining the credentials

You need to upload the public key to GitLab.

Do this by following the instructions: Adding a new SSH key to your GitLab account

Do this by following the instructions:

We do not support SSH key with passphrase for the CLI, therefore generate one without a passphrase.

Creating your connection

  1. In the Blink platform, navigate to the Connections page > Add connection. A New Connection dialog box opens displaying icons of external service providers available.
  2. Select the SSH icon. A dialog box with name of the connection and connection methods appear.
  3. (Optional) Edit the name of the connection. At a later stage you cannot edit the name.
  4. Select SSH as the method to make the connection.
  5. Fill in the parameters:
    • The key
    • The passphrase
    • The username
  6. (Optional) Click Test Connection to test it.
  7. Click Create connection. The new connection appears on the Connections page.