Skip to content

ci: Use fallback_keys instead of CACHE_FALLBACK_KEY

Antoine Belvire requested to merge ci/fix_fallback_cache into master

Using master cache as cache for first build on development branches didn't work until now because:

  • Caches have been invalidated once, implicitly incrementing a counter present in the expanded cache name;
  • CACHE_FALLBACK_KEY doesn't handle this counter

New fallback_keys keyword correctly handles cache counters, fixing the issue.

Merge request reports