我在Windows 10中安装了一个gitlab-runner
当Gitlab CI开始执行gitlab-runner应该处理的工作时,gitlab-runner有时会喊出以下日志:
时间=#&34; 2017-12-26T16:39:49 + 08:00" level = warning msg ="检查作业......失败" runner = 96856a1d status ="解码json有效负载意外EOF"
真的很烦人。
我必须重新启动gitlab-runner,它才能再次运行。
以下是config.toml
的内容concurrent = 1
check_interval = 30
[[runners]]
name = "windows docker runner"
url = "http://my-gitlab.internal.example.com:9090/"
token = "abcdefg1c39f10e869625c2118e"
executor = "docker"
[runners.docker]
tls_verify = false
image = "docker:latest"
privileged = false
disable_cache = false
volumes = ["/var/run/docker.sock:/var/run/docker.sock", "/cache"]
[runners.cache]
Insecure = false