Skip to content

CACHE_FALLBACK_KEY do not work with local cache

What does this MR do?

Resolves an issue (reported in 27537) when using CACHE_FALLBACK_KEY with local cache configuration. File argument passed to cache-extractor was created based on cache key, not CACHE_FALLBACK_KEY

Why was this MR needed?

Resolves issue for CACHE_FALLBACK_KEY within local cache mode.

What's the best way to test this MR?

The test case fixed in this MR is self-explanatory. For integration testing, set up a custom executor to use local cache ex. https://docs.gitlab.com/runner/executors/kubernetes.html#using-the-cache-with-the-kubernetes-executor

What are the relevant issue numbers?

27537

Merge request reports