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)
Merge request reports
Activity
@tmaczukin can you review? Tests added, and gitlab-rails side (incl. documentation) can be found here: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/12483
assigned to @tmaczukin
Note the implementation may need to change: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/12483#note_33574803
@nick.thomas Looks nice! However I like the idea from https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/12483#note_33574803 and I think it's worth to implement it :)
Any way - could you update https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/blob/master/network/gitlab_test.go#L292 so the new field will be used in tests?
Edited by Tomasz Maczukinassigned to @nick.thomas
- Resolved by Nick Thomas
- Resolved by Nick Thomas
- Resolved by Nick Thomas
assigned to @tmaczukin
@tmaczukin I'm just moving onto the gitlab-ce MR now. How does this look?
Ach, complexity failures: https://gitlab.com/nick.thomas/gitlab-ci-multi-runner/-/jobs/20628298
assigned to @nick.thomas
assigned to @ayufan
@ayufan since you have the CE MR, it probably makes sense for you to review this one at the same time
assigned to @nick.thomas
assigned to @ayufan
- Resolved by Nick Thomas