From 35f4a00f371ae60477bdbafe9f8274c8560320cb Mon Sep 17 00:00:00 2001 From: Nick Thomas Date: Tue, 27 Jun 2017 15:38:12 +0100 Subject: Introduce cache policies for CI jobs --- spec/factories/ci/builds.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'spec/factories/ci/builds.rb') 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 -- cgit v1.2.3