Gitlab Runner#

Runner Registration#

Since Gitlab Runner 16. See also

https://docs.gitlab.com/ee/architecture/blueprints/runner_tokens/#using-the-authentication-token-in-place-of-the-registration-token

  • Settings > CI/CD > Runners: New project runner

  • fill form, „Create runner“

  • paste register command to machine

The Old Way (TM)#

# https://gitlab.com/hukudo/ingress/-/settings/ci_cd
read token
gitlab-runner register \
  --non-interactive \
  --url https://gitlab.com/ \
  --registration-token $token \
  --executor shell \
  --name "TODO" \
  --tag-list TODO,TAGS