gitlab-org--gitlab-foss/spec/lib
Douwe Maan 54729d2c28 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
2016-01-21 11:15:28 +00:00
..
banzai Refactoring Banzai::Filter::GollumTagsFilter 2016-01-14 12:09:31 -02:00
ci Added cache:key to .gitlab-ci.yml allowing to fine tune the caching 2016-01-20 23:12:48 +01:00
gitlab Merge branch 'fix-github-pull-requests-import' into 'master' 2016-01-20 22:11:20 +00:00
disable_email_interceptor_spec.rb Tag lib specs 2015-12-09 11:55:42 +01:00
dnsxl_check_spec.rb Add IP blocking against DNSBL at sign-up 2016-01-20 15:28:19 +01:00
extracts_path_spec.rb Tag lib specs 2015-12-09 11:55:42 +01:00
file_size_validator_spec.rb Tag lib specs 2015-12-09 11:55:42 +01:00
git_ref_validator_spec.rb Tag lib specs 2015-12-09 11:55:42 +01:00
repository_cache_spec.rb Tag lib specs 2015-12-09 11:55:42 +01:00