gitlab runner

[root@iZ2zebfrpow730b45axavrZ ~]# sudo gitlab-runner start
Runtime platform                                    arch=amd64 os=linux pid=3887589 revision=b37d3da9 version=14.3.0
[root@iZ2zebfrpow730b45axavrZ ~]# sudo gitlab-runner register
Runtime platform                                    arch=amd64 os=linux pid=3887609 revision=b37d3da9 version=14.3.0
Running in system-mode.

Enter the GitLab instance URL (for example, https://gitlab.com/):
https://gitlab.turingsenseai.com/
Enter the registration token:
zAhkHWm8wEy9cLn8SAjw
Enter a description for the runner:
[iZ2zebfrpow730b45axavrZ]: beijing-ecs
Enter tags for the runner (comma-separated):
beijing-ecs
Registering runner... succeeded                     runner=zAhkHWm8
Enter an executor: kubernetes, custom, shell, ssh, docker-ssh+machine, docker+machine, docker, docker-ssh, parallels, virtualbox:

ERROR: Invalid executor specified
Enter an executor: custom, shell, ssh, docker-ssh+machine, kubernetes, docker, docker-ssh, parallels, virtualbox, docker+machine:
docker
Enter the default Docker image (for example, ruby:2.6):

Enter the default Docker image (for example, ruby:2.6):
test:latest
Runner registered successfully. Feel free to start it, but if it's running already the config should be automatically reloaded!

修改gitlab config.toml

[root@iZ2zebfrpow730b45axavrZ /]# whereis gitlab-runner
gitlab-runner: /usr/bin/gitlab-runner /usr/lib/gitlab-runner /etc/gitlab-runner /usr/share/gitlab-runner
[root@iZ2zebfrpow730b45axavrZ /]# cd /etc/gitlab-runner
[root@iZ2zebfrpow730b45axavrZ gitlab-runner]# ls
config.toml
[root@iZ2zebfrpow730b45axavrZ gitlab-runner]# vim config.toml
上一篇:Python 中 使用 HTMLTestRunner 模块生成测试报告


下一篇:性能:流量回放搭建