Skip to content

Support cache policies in .gitlab-ci.yml

What does this MR do?

Respects a policy key in gitlab-ci.yml cache entries, which can skip cache upload or download steps.

Why was this MR needed?

This can reduce the load on cache servers significantly

Are there points in the code the reviewer needs to double check?

Does this MR meet the acceptance criteria?

  • Documentation created/updated (in gitlab-ce)
  • Tests
    • Added for this feature/bug
    • All builds are passing
  • Branch has no merge conflicts with master (if you do - rebase it please)

What are the relevant issue numbers?

Closes #2539 (closed)

Edited by Nick Thomas

Merge request reports