Rate this page:
GitLab is a web-based Git repository that provides free open and private repositories, issue-following capabilities, and wikis.
Compass currently supports GitLab as a tool to:
To integrate Compass with GitLab, you must first install the GitLab app in Compass. Then, you must create and retrieve your GitLab group access token to connect Compass to the GitLab account to finish setup and begin importing components from GitLab and/or managing components via config-as-code.
You can connect only one GitLab group to a Compass instance.
Create and retrieve your GitLab group access token: When creating your group access token, make sure you:
Integrate Compass with GitLab:
Now you can manage components from the repositories within the connected GitLab project by setting up configuration as code (config-as-code) for your components. Learn how to manage components via config-as-code.You can also import GitLab components from GitLab into Compass. Learn how to import components from GitLab
Compass’s integration with a GitLab project lets you manage your components with configuration as code (config-as-code) by using GitLab as a component management tool. However, if you want to configure a different project or no longer want to use config-as-code, you can disconnect your current GitLab project from Compass.
Once you disconnect a GitLab group, any managed components in Compass are disconnected and will no longer be synced with GitLab. Don’t worry, the components remain in Compass and you can manage them via the Compass UI.
To disconnect a GitLab account from Compass:
Now you can manage the components previously managed via config-as-code from the Compass UI. You can also configure a different GitLab organization.
If you no longer want to use GitLab as a component management tool, you can uninstall the GitLab app from Compass.
Once you uninstall the GitLab app, any managed components in Compass are disconnected and will no longer be synced with GitLab. Don’t worry, the components remain in Compass and you can manage them via the Compass UI.
To uninstall the GitLab app from Compass:
Now your GitLab-managed components will no longer be managed by any existing compass.yml files and can be modified and updated via the Compass UI. At any time, you can again integrate Compass with GitLab to set up config-as-code for component management.
Rate this page: