diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2017-07-06 07:40:43 +0000 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2017-07-06 07:40:43 +0000 |
commit | 7f500acb5f38f0ae5d4e2d51e27b6257e0800c3d (patch) | |
tree | db122866e3a238c8246a33bc91d5cd91cc09354d /spec/factories | |
parent | 6afe25ef336aca40b87cede499f8b8f5928129f6 (diff) | |
parent | 35f4a00f371ae60477bdbafe9f8274c8560320cb (diff) | |
download | gitlab-ce-7f500acb5f38f0ae5d4e2d51e27b6257e0800c3d.tar.gz |
Merge branch '33772-readonly-gitlab-ci-cache' into 'master'
Introduce cache policies for CI jobs
Closes #33772
See merge request !12483
Diffstat (limited to 'spec/factories')
-rw-r--r-- | spec/factories/ci/builds.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/factories/ci/builds.rb b/spec/factories/ci/builds.rb index 0cc498f0ce9..a77f01ecb00 100644 --- a/spec/factories/ci/builds.rb +++ b/spec/factories/ci/builds.rb @@ -207,7 +207,8 @@ FactoryGirl.define do cache: { key: 'cache_key', untracked: false, - paths: ['vendor/*'] + paths: ['vendor/*'], + policy: 'pull-push' } } end |