Onboard GitLab to DevOps Change Velocity — Service Catalog
On this page
Onboard GitLab to DevOps Change Velocity — Service Catalog
Create, connect, discover, and configure your GitLab instance using the ServiceNow Service Catalog.
Before you begin
Role required: sn_devops.admin or sn_devops.tool_owner
Procedure
-
Navigate to All > Service Catalog > Catalog Definitions > Maintain Items and search for DevOps.
Note: You can also access the service catalog from Employee Center or Service portal.
-
From the DevOps catalog items, select and activate DevOps App Onboarding and DevOps Tool Onboarding.
-
After activating, select DevOps Tool Onboarding and select Try it.
-
In the DevOps Tool Onboarding form, enter the tool details:
<table id=“table_ubw_p1p_gwb”><thead><tr><th>
Field
</th><th>
Description
</th></tr></thead><tbody><tr><td>
Tool name
</td><td>
Name for your GitLab integration.
</td></tr><tr><td>
Tool integration
</td><td>
Select GitLab.
</td></tr><tr><td>
Tool URL
</td><td>
URL of your GitLab instance.
</td></tr><tr><td>
Credential type
</td><td>
Select Basic Auth or OAuth, depending on the credentials you’re using.- For Basic Auth, enter the username and password or access token. - For OAuth, enter the credentials.
</td></tr><tr><td>
Tool password/ Access token/API Key
</td><td>
GitLab password or access token.
</td></tr><tr><td>
Use MidServer
</td><td>
Optional. Select MID Server for an on-premises tool that is attached to a MID Server. Application is automatically set to DevOps and capability is set to REST.
</td></tr></tbody> </table> For a list of all the permissions required on the credentials for connecting to GitLab, see GitLab permissions in Permissions required for DevOps tools.
-
Select Order Now.
A request is created. When the request is approved, the tool is created, connected, and discovered.
-
From the DevOps catalog items, select DevOps App Onboarding.
-
In the DevOps App Onboarding form, enter the details:
<table id=“table_vb5_s3p_gwb”><tbody><tr><td>
Are you creating a new app or adding to an existing one?
</td><td>
Select from the options whether to create a new app or use an existing app.
</td></tr><tr><td>
App
</td><td>
Enter the name for the app that you’re creating or using.
</td></tr><tr><td>
Onboarding pipelines
</td><td>
Leave empty.
</td></tr><tr><td>
Onboarding repositories
</td><td>
Enter the connected GitLab tool name.
</td></tr><tr><td>
Repositories
</td><td>
Select the repositories for which you want to configure webhooks and import historical data.
</td></tr><tr><td>
Import from and Import to
</td><td>
Select the dates for which you want to import the data. By default, the last 30 days are selected. You can choose to import data for a maximum of 90 days.
</td></tr><tr><td>
Do you wish to configure webhook for the tool?
</td><td>
Select the check box if you want to configure webhooks for the selected repositories.
</td></tr><tr><td>
Onboarding plans
</td><td>
Enter the connected GitLab tool name.
</td></tr><tr><td>
Plans
</td><td>
Select the plans for which you want to import historical data.
</td></tr><tr><td>
Import from and Import to
</td><td>
Select the dates for which you want to import the Plans data. By default, the last 30 days are selected. You can choose to import data for a maximum of 90 days.
</td></tr></tbody> </table>8. Select Order Now.
A request is created. When the request is approved, the plan and repository objects are associated to the app record and webhooks are configured for real-time tracking. Historical data is imported for the selected plans and repositories. The **Track** field is automatically enabled for imported repositories.
Parent Topic:GitLab integration with DevOps Change Velocity
Keep exploring.
Find another answer, or bring this documentation into your own tools.