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 [email protected]: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

    acceptedDeprecated: use status/accepted. Kept for issue history; will be removed in milestone 0.10.0.enhancementDeprecated: use type/feature. Kept for issue history; will be removed in milestone 0.10.0.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions