Skip to main content

GitLab Runner Registration Token

GitLab Runner Registration Token

Last Updated: 2025-01-XX
Status: Active
Group: blueflyio/agent-platform

Current Registration Token

<RUNNER_REGISTRATION_TOKEN>

How to Use

Option 1: Export as Environment Variable

cd $LLM_ROOT/gitlab-runners export RUNNER_TOKEN="<RUNNER_REGISTRATION_TOKEN>" ./scripts/setup-local-runners.sh

Option 2: Use with GitLab API Token

export GITLAB_TOKEN="glpat-your-token" ./scripts/setup-local-runners.sh

The script will automatically retrieve the registration token from the GitLab API.

Option 3: Quick Start

cd $LLM_ROOT/gitlab-runners export RUNNER_TOKEN="<RUNNER_REGISTRATION_TOKEN>" ./scripts/quick-start-runners.sh

Token Refresh

This token can be refreshed in GitLab:

  1. Go to: https://gitlab.com/groups/blueflyio/agent-platform/-/settings/ci_cd
  2. Expand "Runners" section
  3. Click "Reset registration token"

Or via API:

export GITLAB_TOKEN="glpat-your-token" curl -X POST -H "PRIVATE-TOKEN: $GITLAB_TOKEN" \ "https://gitlab.com/api/v4/groups/blueflyio%2Fagent-platform/runners_token/reset"

Security Notes

  • This token is for registering new runners only
  • It does not grant access to run jobs
  • Store securely and rotate quarterly
  • Do not commit to version control