Gitlab:工件上传使用错误的URL

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

我正在运行Ubuntu的开发服务器上运行Gitlab。我将/etc/gitlab/gitlab.rb中的配置更改为IP地址。

我运行我的Gitlab管道,并且总是得到

正在上传工件... planfile:找到1个匹配的文件错误:正在将工件上传到协调器...错误error =无法针对执行http://gitlab.example.be/api/v4/jobs/15/artifacts?artifact_format=zip&artifact_type=archive:发布http://gitlab.example.be/api/v4/jobs/15/artifacts?artifact_format=zip&artifact_type=archive:拨打tcp:在144.254.71.184:53上查找gitlab.example.be:没有这样的主机id = 15令牌= xhDJXFod警告:正在重试...错误=无效的参数

工件是在配置文件中指定的IP地址时,为什么使用DNS名称而不是IP地址?

gitlab gitlab-ci
1个回答
0
投票

此地址是在您的Gitlab运行程序配置(config.toml)中配置的。此配置文件不同于您的Gitlab配置文件。

[[runners]]
  url = "http://gitlab.example.be"

您可以在Gitlab runner documentation page上查看跑步者的所有高级设置。

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