diff options
author | Nick Thomas <nick@gitlab.com> | 2017-06-27 17:38:12 +0300 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2017-07-05 17:39:26 +0300 |
commit | 35f4a00f371ae60477bdbafe9f8274c8560320cb (patch) | |
tree | f52e80f87701e2a2724482b8705e97ac842bebc5 /spec/factories/ci/builds.rb | |
parent | 98768953f31d9b4f243c52e4dd5579f21cb7976f (diff) |
Introduce cache policies for CI jobs
Diffstat (limited to 'spec/factories/ci/builds.rb')
-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 |