OpsVerse ONE
Integrations

GitLab Integration

This integration enables loading of catalog entities from gitlab.com. Entities can also be added using either static catalog configurations or Registering them using the catalog import button which is included in the OpsVerse ONE instance.

Configuration

To enable GitLab, change the following in the values.yaml file in your OpsVerse ONE instance:

  • Under devportal.appConfig.integration insert the following snippet:
YAML

  • Under devportal.auth insert the following snippet:
YAML


Follow these steps to create your GitLab Token

GitLab Plugin

This plugin will bring in different GitLab cards based on your project to your OpsVerse ONE instance. It gives an overview of the project, based on its project-id, which includes Contributors, Language Composition, Merge Request Stats, Merge Requests list, GitLab Pipeline stats etc. Your Project id can be found under your project settings.

Component Annotations

To enable this plugin, the GitLab Integration described above should be enabled in your OpsVerse ONE instance. Once this integration is enabled, the following annotation needs to be added to the metadata.annotations section of the catalog-info.yaml file of every component that needs this integration:

YAML


Note: spec.type field in your can take values in ['website','library','service'] however to render GitLab Entity, Catalog must be of type service.