summaryrefslogtreecommitdiff
path: root/lib/api/project_snippets.rb
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2016-01-21 11:15:28 +0000
committerDouwe Maan <douwe@gitlab.com>2016-01-21 11:15:28 +0000
commit54729d2c28c7e612cafbf81d980f274f6405df2a (patch)
tree51bb211a3ef1425ac3d30d646893f7cdebd87637 /lib/api/project_snippets.rb
parenta4ff270d59ef951538cb9d3962ebc8bc7d990016 (diff)
parentc45a6bf3ba13cbd532852dfcc48ef3fd7aa545e4 (diff)
downloadgitlab-ce-54729d2c28c7e612cafbf81d980f274f6405df2a.tar.gz
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
Diffstat (limited to 'lib/api/project_snippets.rb')
0 files changed, 0 insertions, 0 deletions