简体   繁体   English

Windows 上的 gitlab-runner 和 docker 执行程序的缓存位置?

[英]Cache location with gitlab-runner and docker executor on Windows?

Where are the zips of the job caches when running gitlab-runner on Windows with docker executor?使用 docker 执行器在 Windows 上运行 gitlab-runner 时,作业缓存的拉链在哪里?

Here is what I found on the computer executing gitlab-runner, which has a more or less default configuration:这是我在执行 gitlab-runner 的计算机上发现的,它或多或少具有默认配置:

C:\ProgramData\docker\volumes\<runner-id>\_data\<path\to\repo>\<cache key>-N\cache.zip

With:和:

  • <cache key> the value of the cache key provided from .gitlab-ci.yml . <cache key> .gitlab-ci.yml提供的缓存键的值。

  • N an integer close to 1, possibly due to parallel builds (?). N an integer 接近 1,可能是由于并行构建(?)。 I think that sometimes the directory name is simply <cache key> .我认为有时目录名称只是<cache key>

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

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