GitLab Integration
Rapticore Integrates with a customer’s GitLab instance using a Personal Access Token.
Rapticore only integrates with GitLab Cloud, currently.
For more information, refer to our GitLab integration reference.
Setup
Setup involves:
- Creating a Personal Access Token in GitLab
- Configuring Rapticore to integrate with GitLab
GitLab privileges
You must have GitLab organization rights to create personal access tokens with read_user
, read_api
, read_repository
, and read_registry
permissions.
As a best practice, Rapticore recommends that the integration user is tied to a service user.
Rapticore privileges
You must have an Admin role to configure GitLab integrations in Rapticore.
Creating a personal access token
- Log in to gitlab.com/yourcompany with the email address of the user
- Go to User Setting by clicking the user avatar in the top right corner
- Select Edit Profile
![Gitlab-1.png 968](https://files.readme.io/82a389c-Gitlab-1.png)
- Click Access Tokens from the Left side panel
![gitlab-2.png 968](https://files.readme.io/fe13bc5-gitlab-2.png)
-
Enter a name for the Personal Access Token
-
Select
read_user
,read_api
, read_repository
, andread_registry
checkboxes and Click create personal access token
![gitlab-3.png 968](https://files.readme.io/5582c96-gitlab-3.png)
- Copy the personal access token
![gitlab-4.png 968](https://files.readme.io/b22f7e8-gitlab-4.png)
If you lose the Personal Access Token simply follow the steps to re-create a new one.
Configuring Rapticore
- Login to Rapticore as an admin user and navigate to the Manage > Integrations page and select the GitLab integration
![gitlab-5.png 1245](https://files.readme.io/5fb91be-gitlab-5.png)
- Enter the personal access token created above in the API key field and click Save.
![gitlab-6.png 1298](https://files.readme.io/ba778df-gitlab-6.png)
You will then see the created integration.
![gitlab-7.png 1267](https://files.readme.io/22e8ecc-gitlab-7.png)
Once completed, you can navigate to the Applications > Repositories page in Rapticore and view your integrated Github repositories.
GitLab repositories are tracked by an asynchronous process, so it may take a few minutes for the them to show up in the Repositories list.
Updated over 3 years ago