gitlab-runner
Manage GitLab runners. More information: <https://docs.gitlab.com/runner/>.
Install
- All systems
-
curl cmd.cat/gitlab-runner.sh
- Debian
-
apt-get install gitlab-runner
- Ubuntu
-
apt-get install gitlab-runner
- Arch Linux
-
pacman -S gitlab-runner
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install gitlab-runner
- OS X
-
brew install gitlab-runner
- Raspbian
-
apt-get install gitlab-runner
- Dockerfile
- dockerfile.run/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
© tl;dr; authors and contributors