Add register runner authored by Peter Trommler's avatar Peter Trommler
......@@ -19,6 +19,34 @@ zypper in gitlab-runner
zypper in gitlab-runner-docker
```
# Register gitlab-runner
```
# gitlab-runner register --url https://gitlab.haskell.org --token glrt-***
Runtime platform arch=ppc64le os=linux pid=26351 revision=v17.7.0 version=17.7.0
Running in system-mode.
Created missing unique system ID system_id=s_*******
Enter the GitLab instance URL (for example, https://gitlab.com/):
[https://gitlab.haskell.org]:
Verifying runner... is valid runner=******
Enter a name for the runner. This is stored only in the local config.toml file:
[haskell-p10]: POWER10 shell executor
Enter an executor: virtualbox, docker, docker+machine, kubernetes, docker-autoscaler, instance, custom, shell, docker-windows, ssh, parallels:
shell
Runner registered successfully. Feel free to start it, but if it's running already the config should be automatically reloaded!
Configuration (with the authentication token) was saved in "/etc/gitlab-runner/config.toml"
# gitlab-runner run
Runtime platform arch=ppc64le os=linux pid=26385 revision=v17.7.0 version=17.7.0
Starting multi-runner from /etc/gitlab-runner/config.toml... builds=0 max_builds=0
Running in system-mode.
Configuration loaded builds=0 max_builds=1
listen_address not defined, metrics & debug endpoints disabled builds=0 max_builds=1
[session_server].listen_address not defined, session endpoints disabled builds=0 max_builds=1
Initializing executor providers builds=0 max_builds=1
```
# Start gitlab-runner
After system update start gitlab-runner:
```
......
......