Skip to content

Variable expansion implementation in cache policy field

What does this MR do?

Add support for variable expansion in the cache:policy field in CI

Why was this MR needed?

It allows reducing duplication in jobs, by leveraging variables (via rules) to customize the value of cache:policy

What's the best way to test this MR?

A new unit test has been added (TestAbstractShell_cachePolicy) that validates all the different values for cache:policy

What are the relevant issue numbers?

Relates to gitlab#371480 (closed)

Merge request reports