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
- In the Blink platform, navigate to the Connections page > Add connection. A New Connection dialog box opens displaying icons of external service providers available.
- Select the GitLab icon. A dialog box with name of the connection and connection methods appear.
- (Optional) Edit the name of the connection. At a later stage you cannot edit the name.
- Click GitLab to authenticate using OAuth.
- Sign in using your credentials.
Using API token
Obtaining the credentials
Follow the instructions in the following link: Personal access tokens
Creating your connection
- In the Blink platform, navigate to the Connections page > Add connection. A New Connection dialog box opens displaying icons of external service providers available.
- Select the GitHLab icon. A dialog box with name of the connection and connection methods appear.
- (Optional) Edit the name of the connection. At a later stage you cannot edit the name.
- Select API Token as the method to create the connection.
- 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
.
- (Optional) Click Test Connection to test it.
- 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
We do not support SSH key with passphrase for the CLI, therefore generate one without a passphrase.
Creating your connection
- In the Blink platform, navigate to the Connections page > Add connection. A New Connection dialog box opens displaying icons of external service providers available.
- Select the SSH icon. A dialog box with name of the connection and connection methods appear.
- (Optional) Edit the name of the connection. At a later stage you cannot edit the name.
- Select SSH as the method to make the connection.
- Fill in the parameters:
- The key
- The passphrase
- The username
- (Optional) Click Test Connection to test it.
- Click Create connection. The new connection appears on the Connections page.
Interactive Tutorial Guides
You can also refer to the following tutorial guides for a more in-depth understanding of how to create a GitLab connection.