我在 GitLab CI 上遇到了一些麻烦。我遵循了官方指南: https ://github.com/gitlabhq/gitlab-ci/blob/master/doc/installation.md
一切正常,没有任何错误。我也关注了 Runner-Setup。什么都好。
但...
当我将跑步者添加到项目中然后尝试构建时,什么也没有发生。可能是我没有完全理解某些东西,或者我的某些配置有问题。我对 GitLab CI 完全陌生,但我喜欢它,我想学习新东西。
如果有人能以某种方式帮助我,我会非常高兴。
谢谢!
大更新: 刚刚发现:
~/gitlab-runners/gitlab-ci-runner$ bin/runner
手动启动运行程序进程可以解决问题,但是如果我查看 /etc/init.d 中的 gitlab-ci-runner -> 它正在运行!?!
~/gitlab-runners/gitlab-ci-runner$ sudo /etc/init.d/gitlab-ci-runner start
Number of registered runners in PID file=1
Number of running runners=0
Error! GitLab CI runner(s) (gitlab-ci-runner) appear to be running already! Try stopping them first. Exiting.
~/gitlab-runners/gitlab-ci-runner$ sudo /etc/init.d/gitlab-ci-runner stop
Number of registered runners in PID file=1
Number of running runners=0
WARNING: Numbers of registered runners don't match number of running runners. Will try to stop them all
Registered runners=1
Running runners=0
Trying to stop registered runners...kill: No such process
OK
Trying to kill ghost runners...OK
这里有什么问题?我没力气还是没看到问题?!