Skip to content
Snippets Groups Projects

Support cache policies in .gitlab-ci.yml

All threads resolved!

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

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • assigned to @tmaczukin

  • Author Maintainer

    @tmaczukin I'm just moving onto the gitlab-ce MR now. How does this look?

  • Author Maintainer

    That's better :)

  • assigned to @ayufan

  • Author Maintainer

    @ayufan since you have the CE MR, it probably makes sense for you to review this one at the same time

  • Nick Thomas resolved all discussions

    resolved all discussions

  • Author Maintainer

    Also ready for review. "policy": "pull-push", "policy": null and "policy": "" are all treated the same.

  • assigned to @ayufan

  • Nick Thomas resolved all discussions

    resolved all discussions

  • Tomasz Maczukin
  • Nick Thomas resolved all discussions

    resolved all discussions

  • Kamil Trzcińśki approved this merge request

    approved this merge request

  • Please register or sign in to reply
    Loading