GitLab
Last updated
Was this helpful?
Last updated
Was this helpful?
Only organization Admins can create, edit and delete integrations.
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
IcePanel uses OAuth to authenticate with users.
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 setup
Go to the Integrations
tab
Click on the New integration
button
Select GitLab
and accept the requested permissions
Choose 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
Navigate to Integrations
in IcePanel by clicking Manage
in the organization dropdown
Select the GitLab
tab and click Remove
Navigate to your GitLab Applications tab and revoke the authorization for IcePanel
You may find that no code repos show if your organization has enabled IP filtering or whitelisting in your integration. To resolve this whitelist the IcePanel repo scanner IP address:
34.168.47.236
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 clicking Manage
in the organization dropdown
Create an API key with admin permissions
Or with environment variables.
Once the synchronization is complete you should see your code repos in the IcePanel reality tab.
To use a self signed the certificates NODE_TLS_REJECT_UNAUTHORIZED=0
must be specified as an environment variable to the CLI container.
Run the docker image in gitlab-sync mode with the following parameters