Skip to content

[FEATURE] GitLab support (SaaS + self-hosted) #133

@danielmeppiel

Description

@danielmeppiel

Summary

APM currently supports GitHub and Azure DevOps as package sources. GitLab is another widely used platform, both as GitLab.com (SaaS) and self-hosted instances.

Scope

  • GitLab.com (SaaS)
  • GitLab Self-Hosted (same API, configurable base URL)

Implementation approach

This will be addressed via generic git URL support in #72 rather than a GitLab-specific API integration. Supporting https://gitlab.com/org/repo.git (and git@gitlab.com:org/repo.git) as dependency references in apm.yml covers both SaaS and self-hosted GitLab instances without requiring GitLab API v4 integration.

dependencies:
  apm:
    - https://gitlab.com/acme/coding-standards.git
    - https://gitlab.internal.corp.com/team/security-rules.git

Authentication works via standard git credential helpers (SSH keys, credential managers) — no GITLAB_APM_TOKEN env var needed.

Parent issue

Part of #72 — Generic git URL support and optional output override

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedDirection approved, safe to start workenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions