The GitLab Repository Manager Integration have to be configured on your CDS by a CDS Administrator.
This integration allows you to link a Git Repository hosted by GitLab to a CDS Application.
This integration enables some features:
Generate a new token on https://gitlab.com/-/profile/personal_access_tokens with the following scopes:
Create a yml file:
version: v1.0
name: gitlab
type: gitlab
description: "my gitlab"
auth:
username: your-username
token: glpat_your-token-here
options:
disableStatus: false # Set to true if you don't want CDS to push statuses on the VCS server - optional
disableStatusDetails: false # Set to true if you don't want CDS to push CDS URL in statuses on the VCS server - optional
disablePolling: false # Does polling is supported by VCS Server - optional
disableWebHooks: false # Does webhooks are supported by VCS Server - optional
cdsctl project vcs import YOUR_CDS_PROJECT_KEY vcs-gitlab.yml