Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Mazetto <gabriel@gitlab.com>2022-03-16 00:04:07 +0300
committerGabriel Mazetto <gabriel@gitlab.com>2022-05-02 09:22:53 +0300
commit2c12592ea1be1c9cb97746591bc49aeb211d3c57 (patch)
tree786ad1af7c2a7ec0ef3cc099a527992041b2c7a5
parentc47bb5beba81703b7c2bb2b3d1c138cb667fa80c (diff)
CI: Cache danger dependencies
Danger dependencies were not previously cached on CI. This adds the bundler directory with specific cache keys for danger.
-rw-r--r--.gitlab-ci.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 747b393ae..e75f4669d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -97,6 +97,14 @@ danger-review:
allow_failure: true
variables:
BUNDLE_GEMFILE: danger/Gemfile
+ cache:
+ key:
+ files:
+ - danger/Gemfile.lock
+ prefix: debian-${DEBIAN_VERSION}-ruby-${RUBY_VERSION}
+ paths:
+ - .ruby
+ policy: pull-push
build:
stage: build