CI: Disable global caching and use default caching
authorVarac <varac@leap.se>
Thu, 21 Dec 2017 08:52:15 +0000 (09:52 +0100)
committerVarac <varac@leap.se>
Thu, 21 Dec 2017 10:27:06 +0000 (11:27 +0100)
from https://docs.gitlab.com/ce/ci/yaml/README.html#cache:

"By default caching is enabled and shared between pipelines and jobs,
starting from GitLab 9.0"

.gitlab-ci.yml

index a7a79d1..64583fd 100644 (file)
@@ -1,13 +1,10 @@
 ---
 image: 0xacab.org:4567/leap/docker/ruby:latest
 
-# This is for caching the gems not only between the stages, but also
-# persistent on the gitlab-runner so we don't need to install from
-# scratch on every pipeline
 cache:
-  key: "global_platform_cache_between_pipelines"
   untracked: true
   paths:
+    # Cache gems
     - tests/platform-ci/vendor/
 
 before_script: