GitLab
Only organization Admins can create, edit and delete integrations.
IcePanel only supports projects which belong to a group or shared group. Personal projects are not supported at this time.
Link your model objects to reality, such as code repos, branches, folders and files. When those links move, change names or get deleted, weโll notify you that the object may need to be updated in your IcePanel landscape.
Learn more here: Linking to reality
Using GitLab
IcePanel uses OAuth to authenticate with GitLab.com users.
Linking an account
From your landscape homepage, click on the organization dropdown at the top of the navigation bar
Click on the
Manage
link for the organization you want to setupGo to the
Integrations
tabClick on the
New integration
buttonSelect
GitLab
and accept the requested permissionsChoose a GitLab group that youโd like to synchronize with IcePanel
You should now see your code repos in the
Links
section of an object
Unlinking an account
Navigate to
Integrations
in IcePanel by clickingManage
in the organization dropdownSelect the
GitLab
tab and clickRemove
Navigate to your GitLab Applications tab and revoke the authorization for IcePanel
Using self-hosted GitLab
IcePanel uses access tokens to authenticate with self-hosted GitLab instances.
Create one of the following GitLab access tokens with read_api and read_repository scopes.
Navigate to
API keys
in IcePanel by clickingManage
in the organization dropdownCreate an API key with admin permissions
Run the IcePanel CLI docker image in gitlab-sync mode with the following parameters
Or with environment variables.
Once the synchronization is complete you should see your code repos in the IcePanel reality tab.
CLI command reference
Self-signed certificates
To use a self signed the certificates NODE_TLS_REJECT_UNAUTHORIZED=0
must be specified as an environment variable to the CLI container.
Last updated