Gitlab Runner 版本=16.10.0

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

基于 common/config.go 中的 jsonschema 注释,您的配置可能存在问题(实验功能): jsonschema:“/runners/0/Monitoring”无法通过 https://gitlab.com/gitlab-org/gitlab-runner/common/config#/$ref/properties/runners/items/$ref/properties/ 进行验证监控/$ref/type:预期对象,但得到 null

这是什么意思?尽管跑步者表现良好..

有人遇到过这个警告消息吗?预先感谢。

寻找解决方案

gitlab runner
1个回答
0
投票

看起来他们无意中在 gitlab-runner 中引入了这个错误。

为了消除警告,我最终能够在 config.toml 中添加并清空

[runners.monitoring]
元素,而无需测试补丁并发布 gitlab-runner:

(/etc/gitlab-runner/config.toml)

concurrent = 10
check_interval = 0
connection_max_age = "15m0s"
shutdown_timeout = 0

[session_server]
  session_timeout = 1800


[[runners]]
  name = "blah"
  ...
  [runners.monitoring]
  ...
© www.soinside.com 2019 - 2024. All rights reserved.