summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-06-12 23:05:19 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2016-06-12 23:05:19 +0200
commitb43c6c43b4098f0633f24fbdc0ff249e3e6d4edc (patch)
tree244344924a0aebb529ef65fa2c66568dedfbfd3f /.gitlab-ci.yml
parent8d243f9bdacea1909bf503eb715bd437c3b48aa7 (diff)
downloadgitlab-ce-b43c6c43b4098f0633f24fbdc0ff249e3e6d4edc.tar.gz
Cache only apt and ruby from vendorcache-apt-and-ruby-only
Since introduction of gitignore the vendor folder contains also gitignores which affects detection when to update a cache. We explicitly cache only apt and ruby folders.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3dc48a89463..f1dcf990629 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -7,7 +7,8 @@ services:
cache:
key: "ruby21"
paths:
- - vendor
+ - vendor/apt
+ - vendor/ruby
variables:
MYSQL_ALLOW_EMPTY_PASSWORD: "1"