diff options
author | Azul <azul@riseup.net> | 2016-11-17 09:57:04 +0100 |
---|---|---|
committer | Azul <azul@riseup.net> | 2016-11-17 12:37:50 +0100 |
commit | 3077e933cbe0d8d7915e72242423fb42fa60609f (patch) | |
tree | efe6b47305364e94136df22ecf6e4dda59132305 | |
parent | ba81242f123df67ec8cfa8f3db5f20daeabc90a5 (diff) |
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.
-rw-r--r-- | .gitlab-ci.yml | 3 |
1 files changed, 2 insertions, 1 deletions
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 |