gitlab-runner

CLI tool for managing GitLab runners.

TLDR

Register a runner

$ sudo gitlab-runner register --url [https://gitlab.example.com] --registration-token [token] --name [name]
copy

Register a runner with a Docker executor

$ sudo gitlab-runner register --url [https://gitlab.example.com] --registration-token [token] --name [name] --executor [docker]
copy

Unregister a runner

$ sudo gitlab-runner unregister --name [name]
copy

Display the status of the runner service

$ sudo gitlab-runner status
copy

Restart the runner service

$ sudo gitlab-runner restart
copy

Check if the registered runners can connect to GitLab

$ sudo gitlab-runner verify
copy

Copied to clipboard
free 100$ digital ocean credit