Sign inSign up

sbx/gitlab-kit:latest

Manifest digest

sha256:23f24d77b03c9f5895ae9126634fd3ff0215f2636ae6de75b5a5ea817559d65c

Last pushed

2 days by sbx

Type

Sandbox Kit

Manifest digest

sha256:23f24d77b03c9f5895ae9126634fd3ff0215f2636ae6de75b5a5ea817559d65c

MIXIN
REQUIRES SECRETS

Installs the GitLab CLI (glab) with proxy-injected personal access token auth, so agents can work with GitLab projects the way gh works with GitHub. Targets gitlab.com by default and any self-managed instance via the host argument.


Arguments
NameRequiredDefaultDescription
hostOptionalgitlab.com

GitLab instance hostname, e.g. gitlab.example.com for a self-managed instance

serviceOptionalgitlab

Credential service name to bind with `sbx secret set`. Give a self-managed sandbox its own name (e.g. gitlab-acme) so it can hold a different PAT from a gitlab.com sandbox.


Credentials
NameServiceRequiredDescription
GITLAB_TOKEN${{ kit.args.service }}RequiredGitLab personal access token (api scope) for the target instance. Stored on the host; the sandbox only sees a placeholder and the proxy injects the real value on requests to that instance.

Network Egress

${{ kit.args.host }}:443

gitlab.com:443

Apply this mixin to a sandbox

sbx run <agent> --kit docker.io/sbx/gitlab-kit:latest

Make sure you have docker sbx installed

Run the following command to install sbx on your machine.

macOS
brew install docker/tap/sbx
Windows
winget install Docker.sbx
Learn more about docker sbx