简体   繁体   English

Gitlab runner 分布式缓存不起作用

[英]Gitlab runner distributed caching not working

I am trying to setup distributed caching in my gitlab runner.我正在尝试在我的 gitlab 跑步者中设置分布式缓存。 I have changed the config.toml as specified in the docs https://docs.gitlab.com/runner/configuration/autoscale.html#distributed-runners-caching .我已经按照文档https://docs.gitlab.com/runner/configuration/autoscale.html#distributed-runners-caching中的说明更改了 config.toml。

But it keeps showing No URL provided, cache will be not uploaded to shared cache server. Cache will be stored only locally.但是一直显示No URL provided, cache will be not uploaded to shared cache server. Cache will be stored only locally. No URL provided, cache will be not uploaded to shared cache server. Cache will be stored only locally.

Anyone has any idea what could be the issue or how i can debug it.任何人都知道可能是什么问题或我如何调试它。

Seeing the error message I thought runner wasn't recognising s3 cache option.看到错误消息,我认为 runner 没有识别 s3 缓存选项。 But when u give the wrong config same error seems to be thrown.但是当你给出错误的配置时,似乎会抛出同样的错误。 In my case i had given https:// in the ServerAddress which was not needed.在我的情况下,我在不需要的 ServerAddress 中给出了 https://。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM