August 2019
Beginner
608 pages
16h 7m
English
In larger environments, deployments are frequently scripted. So, for the runner, there is also a non-interactive install available to help in the effort of automating the infrastructure. You can specify subcommands to the GitLab register argument. To find out about these options, type the following on the command line:
gitlab-runner register -h
To register a runner, using the most common options, you would do the following:
sudo gitlab-runner register \ --description "docker-runner" \ --url "https://gitlab-ee.joustie.com/" \ --registration-token "xxxx" \ --executor "docker" \ --docker-image alpine:latest \ --non-interactive \ --tag-list "docker,aws" \ --run-untagged="true" \ --locked="false" ...
Read now
Unlock full access