GitLab Runner 17.5: Minio cache uploads not working
Issue
On GitLab Runner 17.5, Minio cache uploads no longer work, causing CI/CD job cache to be stored locally. The following message is seen in the job log:
-
No URL provided, cache will not be uploaded to shared cache server. Cache will be stored only locally.
.
Environment
-
Minio configured as object storage for distributed runners caching without
BucketLocation
defined. -
Impacted offerings:
- GitLab.com
- GitLab Dedicated
- GitLab Self-Managed
-
Impacted versions:
- GitLab Runner v17.5.0 to v17.5.1
Cause
In GitLab Runner 17.5, we switched to using the AWS SDK for S3 cache access.
The AWS SDK does not have a default BucketLocation
, causing some configurations to fail.
Resolution
- Upgrade to GitLab Runner 17.5.2.
Additional information
- In GitLab Runner 17.5.2, we default
BucketLocation
tous-east-1
to maintain backwards compatibility.