作者:yax何 | 来源:互联网 | 2023-02-10 15:50
我正在尝试在gitlab的新安装上注册一个gitlab运行器(基于Centos7的omnibus rpm),但注册失败如下:
[root@ec2-x.y.z.w ~]#
[root@ec2-x.y.z.w ~]# sudo gitlab-ci-multi-runner register
Running in system-mode.
Please enter the gitlab-ci coordinator URL (e.g. https://gitlab.com/):
http://ec2-x-y-z-w.compute-1.amazonaws.com/
Please enter the gitlab-ci token for this runner:
38BUk9-kgZkmmPHz-hsb
Please enter the gitlab-ci description for this runner:
[ec2-x-y-z-w.compute-1.amazonaws.com]: dcos runner 1
Please enter the gitlab-ci tags for this runner (comma separated):
dcos
Whether to run untagged builds [true/false]:
[false]:
ERROR: Registering runner... failed runner=38BUk9-k status=404 Not Found
PANIC: Failed to register this runner. Perhaps you are having network problems
[root@ec2-x-y-z-w ~]#
melo..
7
你好像在运行Gitlab Runner v9.x. 将V9运行程序与G9下的V9匹配时会发生此错误.它们是不相容的.
Gitlab Runner v9开始使用V4 API,但这只适用于Gitlab V9.降级至1.11.1,应该再次运作.
特别是,如果您使用官方docker镜像启动Runner,请不要使用:latest tag,切换到
1> melo..:
你好像在运行Gitlab Runner v9.x. 将V9运行程序与G9下的V9匹配时会发生此错误.它们是不相容的.
Gitlab Runner v9开始使用V4 API,但这只适用于Gitlab V9.降级至1.11.1,应该再次运作.
特别是,如果您使用官方docker镜像启动Runner,请不要使用:latest tag,切换到