Skip to content

GitLab

GitLab

Create/edit/manage issues in GitLab

Description

GitLab integration gives you ability to manage your GitLab issues using maira commands. You can create/edit/close issues or add comments to issues with maira commands. Ability to manage files/repositories is coming soon.

Installation

For integrating with GitLab, you need to provide your GitLab authorization token. Make sure that the cluster name is set as gitlab-default and service_name is set as gitlab.

Helm Config

Below is sample configuration for enabling gitlab integration through Helm Chart Values file

gitlab:
  disabled: false
  url: "https://gitlab.com"
  token: "Bearer <Enter Gitlab Token Here>"
  • disabled tag can be set to true to temporarily disable the service without removing the config

Direct Config

Below is sample configuration for enabling GitLab integration

modules:
  - name: maira_io.module.http
services:
  - name: maira_io.service.http
    typed_config:
      "@type": types.google.com/maira_io.config.service.http.v1.Config
      clusters:
        - name: gitlab-default
          addresses:
            - "https://gitlab.com"
          request_headers_add:
            "Authorization": "Bearer <token>"
            "content-type": "application/json"
          service_name: gitlab