Self-hosted GitLab
Configuring a Gitlab application
Before connecting your private Gitlab instance, make sure you have an application configured. If you haven't yet configured one, you can do it now by following the steps described below.
-
Access your Gitlab account.
-
Click on your profile icon in the upper-right corner and select Preferences.
- On the left-side menu, select Applications.
-
Provide a name for your application.
-
In the Redirect URL field, type the following:
https://environments.bunnyshell.com/gitlab-response
-
Make sure the box next to Confidential is checked.
-
Select the following Scopes:
- api
- read_api
- read_user
- read_repository
- write_repository
- read_registry
- openid
- profile
-
Click Save Application. You are then redirected to a screen where the details of the application are shown.
-
Copy the Application ID and the Secret displayed. You will need them when accessing the Bunnyshell interface.
Connecting your private Gitlab to Bunnyshell
After creating the application, go to Bunnyshell and log into your account.
-
Click Integrations on the left-side menu.
-
Select Git integrations.
-
Click Connect git account and select Private Gitlab. In the new screen, provide the following credentials:
- In the OAuth Login URL field type the URL of your application.
- In the Client ID field type the Application ID.
- In the Client Secret field type the Secret.
- Finally, click Connect. Your private Gitlab repository is now connected to Bunnyshell.
Updated about 1 year ago