diff options
author | Nick Thomas <nick@gitlab.com> | 2017-06-27 15:38:12 +0100 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2017-07-05 15:39:26 +0100 |
commit | 35f4a00f371ae60477bdbafe9f8274c8560320cb (patch) | |
tree | f52e80f87701e2a2724482b8705e97ac842bebc5 /spec/factories | |
parent | 98768953f31d9b4f243c52e4dd5579f21cb7976f (diff) | |
download | gitlab-ce-35f4a00f371ae60477bdbafe9f8274c8560320cb.tar.gz |
Introduce cache policies for CI jobs
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 |