Skip to content

Simplify and improve qa gem caching setup

Andrejs Cunskis requested to merge andrey-simplify-qa-gem-caching into master

What does this MR do and why?

It seems we have a lot of cache misses which means jobs performing qa gem installs end up waisting time on reinstalls. Also there seems to be duplication of caching jobs across child pipelines.

Improve caching by:

  • Update cache on default refs if lockfile is changed (schedules run too infrequently, with automated dependency bumps and merge result pipelines we will end up not having up to date cache rather often)
  • Reduce cache job duplication and simplify logic

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports