Gitlab-无法注册共享运行器

问题描述 投票:0回答:1

我有一个私人的GitLab储存库,并拥有管理员访问权限。要配置CI / CD。按照https://docs.gitlab.com/ee/ci/runners/,我尝试注册共享跑步者。为此,我在本地安装了gitlab-runner,并尝试按照文档中所述的步骤进行注册。

gitlab-runner register
Please enter the gitlab-ci coordinator URL (e.g. https://gitlab.com/):
//As far as I use Gitlab CI, I enter default value: https://gitlab.com/
Please enter the gitlab-ci token for this runner:
//To grab the value for this one, I go to Settings -> CI/CD -> Runners and grab a token from right panel (e.g. one of the Enabled SHARED Runners token values)
Please enter the gitlab-ci description for this runner:
Please enter the gitlab-ci tags for this runner (comma separated):
//populate both with arbitrary data

在最后一步之后,我收到:

错误:禁止注册跑步者...(检查注册令牌)Runner = {跑步者访问令牌} PANIC:无法注册该跑步者。也许你是出现网络问题

我尝试了所有共享的运行程序访问令牌,并尝试了:https://ci.gitlab.com/而不是默认的令牌,但始终会收到相同的错误。

非常感谢任何见解

gitlab gitlab-ci gitlab-ci-runner
1个回答
0
投票

您无需注册共享跑步者。如果您自己创建跑步者,请注册。在您的项目中,转到

设置> CI / CD>跑步者

您要在粉红色背景上用红色表示的代码。

© www.soinside.com 2019 - 2024. All rights reserved.