[英]GitLab Runner in private network
I have installed a gitlab runner within a protected network.我在受保护的网络中安装了 gitlab 运行器。 In short:
简而言之:
Starting my pipeline with the runner, the pipeline starts, but I get this error:使用跑步者启动我的管道,管道启动,但我收到此错误:
Using Docker executor with image ruby:2.6 ...
Pulling docker image ruby:2.6 ...
WARNING: Failed to pull image with policy "always": Error response from daemon: Get "https://registry-1.docker.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) (manager.go:203:15s)
ERROR: Job failed: failed to pull image "ruby:2.6" with specified policies [always]: Error response from daemon: Get "https://registry-1.docker.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) (manager.go:203:15s)
I then tried setting up the proxy following this guide .然后我尝试按照本指南设置代理。 Result => pipeline blocked, no result and blank screen (runner is not even found in my opinion).
结果 => 管道阻塞,没有结果和空白屏幕(我认为甚至没有找到跑步者)。
How can I fix this?我怎样才能解决这个问题? If the runner was found by gitlab without proxy I don't think this is the problem.
如果跑步者被 gitlab 找到,没有代理,我认为这不是问题。 But still the pipeline is not executed.
但是仍然没有执行管道。
Clarification: connecting the runner to the open network executes the pipeline correctly.澄清:将运行器连接到开放网络可以正确执行管道。
The proxy configuration of this Windows PC looks something like this:这台 Windows PC 的代理配置如下所示:
netsh winhttp set proxy 194.13X.X.X:9000 bypass-list="10.1XX.X.X/22"
Thank you!
Solved: 2 Issues:已解决:2 个问题:
:) :)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.