gitlab-runner v12.10.0 cache configuration is broken
This morning after the update of our dockerized gitlab-runners from v12.9.0 to v12.10.0 all our jobs started to fail with the messages:
Running with gitlab-runner 12.10.0 (c553af1a)
on gitlab-runner ttfdgrg
Preparing the "docker" executor
00:09
Using Docker executor with image docker-registry.host.name/swe/meeting/gitlab-ci:use-spring-boot ...
ERROR: Preparation failed: adding cache volume: cache volumes feature disabled
Will be retried in 3s ...
Using Docker executor with image docker-registry.host.name/swe/meeting/gitlab-ci:use-spring-boot ...
ERROR: Preparation failed: adding cache volume: cache volumes feature disabled
Will be retried in 3s ...
Using Docker executor with image docker-registry.host.name/swe/meeting/gitlab-ci:use-spring-boot ...
ERROR: Preparation failed: adding cache volume: cache volumes feature disabled
Will be retried in 3s ...
ERROR: Job failed (system failure): adding cache volume: cache volumes feature disabled
Rolling back to v12.9.0 fixed the problem.
Configuration for the runner is:
concurrent = 1
check_interval = 0
[session_server]
session_timeout = 1800
[[runners]]
name = "56446757658"
url = "https://gitlab.host.name"
token = "ddsfdfdhrtvvbgfr"
executor = "docker"
[runners.custom_build_dir]
[runners.docker]
tls_verify = false
image = "docker:latest"
privileged = false
disable_entrypoint_overwrite = false
oom_kill_disable = false
disable_cache = true
volumes = ["/var/run/docker.sock:/var/run/docker.sock", "/cache"]
shm_size = 0
[runners.cache]
Type = "s3"
Path = "runner/shared"
Shared = true
[runners.cache.s3]
ServerAddress = "gitlab-cache-001.ripe.net:9000"
AccessKey = "gitlab-runner"
SecretKey = "my$3cr3tP@ssw0rd"
BucketName = "gitlab"
Insecure = true
Edited by Tomasz Maczukin