From 3077e933cbe0d8d7915e72242423fb42fa60609f Mon Sep 17 00:00:00 2001 From: Azul Date: Thu, 17 Nov 2016 09:57:04 +0100 Subject: ci: share cache for gems between branches and jobs bundler and rubygems should be robust enough to share one dir in different branches. This way gems can be reused. If new versions are required they will just be added to the shared cache. --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 45b5fd6..232ebcb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,8 +11,9 @@ services: # Cache gems in between builds cache: + key: shared paths: - - vendor/ + - vendor/ruby # This is a basic example for a gem or script which doesn't use # services such as redis or postgres -- cgit v1.2.3