😀
GitLab on DockerのGitLab-Runnerの設定手順
shared runner登録
registration tokenの確認
gitlab-runner登録コマンドの実行
入力
docker exec -it docker_gitlab-runner_1 gitlab-runner register
出力
Running in system-mode.
Please enter the gitlab-ci coordinator URL (e.g. https://gitlab.com/):
http://gitlab
Please enter the gitlab-ci token for this runner:
Please enter the gitlab-ci description for this runner:
[c75554f46727]: docker_gitlab-runner_1
Please enter the gitlab-ci tags for this runner (comma separated):
shell,shared
Whether to run untagged builds [true/false]:
[false]:
Whether to lock the Runner to current project [true/false]:
[true]:
Registering runner... succeeded runner=
Please enter the executor: parallels, docker-ssh+machine, kubernetes, docker, docker-ssh, virtualbox, docker+machine, shell, ssh:
shell
Runner registered successfully. Feel free to start it, but if it's running already the config should be automatically reloaded!
gitlab-runner登録結果の確認
specific runner登録
registration tokenの確認
gitlab-runner登録コマンドの実行
入力
docker exec -it docker_gitlab-specific-runner_1 gitlab-runner register
出力
Running in system-mode.
Please enter the gitlab-ci coordinator URL (e.g. https://gitlab.com/):
http://gitlab
Please enter the gitlab-ci token for this runner:
Please enter the gitlab-ci description for this runner:
[e753bf486618]: docker_gitlab-specific-runner_1
Please enter the gitlab-ci tags for this runner (comma separated):
shell,shared
Whether to run untagged builds [true/false]:
[false]:
Whether to lock the Runner to current project [true/false]:
[true]:
Registering runner... succeeded runner=
Please enter the executor: ssh, docker+machine, docker-ssh+machine, docker, docker-ssh, parallels, shell, virtualbox, kubernetes:
shell
Runner registered successfully. Feel free to start it, but if it's running already the config should be automatically reloaded!
Discussion