-
- Downloads
Merge branch 'ci/cache-key' into 'master'
Added cache:key to .gitlab-ci.yml allowing to fine tune the caching The `cache:key` allows you to define the affinity mask of caching, allowing to have single cache for all jobs, or cache per-job, or per-branch, or any other way you would need: 1. Cache per-build for all branches: ``` cache: key: "$CI_BUILD_NAME" untracked: true ``` 2. Cache per-branch for all jobs: ``` cache: key: "$CI_BUILD_REF" untracked: true ``` /cc @DouweM @grzesiek @axil See merge request !2436
No related branches found
No related tags found
Showing
- CHANGELOG 1 addition, 0 deletionsCHANGELOG
- doc/ci/yaml/README.md 56 additions, 4 deletionsdoc/ci/yaml/README.md
- lib/ci/gitlab_ci_yaml_processor.rb 8 additions, 0 deletionslib/ci/gitlab_ci_yaml_processor.rb
- spec/lib/ci/gitlab_ci_yaml_processor_spec.rb 21 additions, 4 deletionsspec/lib/ci/gitlab_ci_yaml_processor_spec.rb
Please register or sign in to comment