我想在单独的服务器上安装 GitLab Runner,但是当我尝试连接到 GitLab 时,我收到:
Running in system-mode.
Please enter the gitlab-ci coordinator URL (e.g. https://gitlab.com/):
<URL>
Please enter the gitlab-ci token for this runner:
<TOKEN>
Please enter the gitlab-ci description for this runner:
[<url>]: <description>
Please enter the gitlab-ci tags for this runner (comma separated):
Whether to lock Runner to current project [true/false]:
[false]:
ERROR: Registering runner... failed runner=<runner-token> status=couldn't execute POST against <url>/api/v4/runners: Post <url>/api/v4/runners: dial tcp 172.17.0.2:80: getsockopt: connection refused
ERROR: Checking GitLab compatibility... not-compatible reason=GitLab Runner >= 9.0 can be used ONLY with GitLab CE/EE >= 9.0 result=-1 runner=<runner-token> statusText=couldn't execute POST against <url>/api/v4/runners/verify: Post <url>/api/v4/runners/verify: dial tcp 172.17.0.2:80: getsockopt: connection refused
PANIC: Failed to register this runner. Perhaps you are having network problems
如果我从 POSTMAN 创建 POST 请求,我可以创建跑步者,但是当我从 gitlab-ci 尝试时,我不能。你知道出了什么问题吗?我们的Gitlab在另一台服务器上,我想把Gitlab和Gitlab-ci分开。我希望 Gitlab-CI 在单独的服务器上,而不是在 Gitlab 所在的同一台服务器上。怎么做,你知道吗?