GitLab integration

Buildpathio integrates with GitLab Cloud and self-hosted instances via CI/CD pipeline jobs. Results are posted as external status checks on merge requests.

Cloud GitLab setup

Add the Buildpathio job to your existing .gitlab-ci.yml:

Add BUILDPATH_TOKEN as a CI/CD variable under Settings → CI/CD → Variables. Mark it as Masked to prevent it appearing in job logs.

Self-hosted GitLab

Self-hosted instances work the same way. The CI runner must be able to reach api.buildpathio.com outbound on port 443. If your instance uses an allowlist, add:

  • api.buildpathio.com
  • auth.buildpathio.com
Air-gapped self-hosted instances are supported on the Team plan via a network proxy configuration. Contact [email protected] for the proxy config.

MR annotations

To show inline comments on merge requests (rather than just a pass/fail status), the integration uses the GitLab External Status Checks API. Enable this in your workspace under Settings → Integrations → GitLab → Enable MR annotations. You'll need to provide your GitLab personal access token with api scope.