gitlab-runner
Manage GitLab runners. More information: https://docs.gitlab.com/runner/.
-
Register a runner:
sudo gitlab-runner register --url {{https://gitlab.example.com}} --registration-token {{token}} --name {{name}}
-
Register a runner with a Docker executor:
sudo gitlab-runner register --url {{https://gitlab.example.com}} --registration-token {{token}} --name {{name}} --executor {{docker}}
-
Unregister a runner:
sudo gitlab-runner unregister --name {{name}}
-
Display the status of the runner service:
sudo gitlab-runner status
-
Restart the runner service:
sudo gitlab-runner restart
-
Check if the registered runners can connect to GitLab:
sudo gitlab-runner verify
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.