diff options
author | Christian Couder <chriscool@tuxfamily.org> | 2022-05-02 11:45:45 +0300 |
---|---|---|
committer | Christian Couder <chriscool@tuxfamily.org> | 2022-05-02 11:45:45 +0300 |
commit | cc8901bc9389a9f85267fe820acc3777494ea337 (patch) | |
tree | bdb8d69c2fb6190f9baade1e9b8d6797272e80e8 | |
parent | d8107b6c1e949b499bf56833fd7931633c4652a1 (diff) | |
parent | 5c419e5df9cb08413fee6bb200e435e6f4387acf (diff) |
Merge branch 'brodock/cache-danger' into 'master'
CI: cache danger and dbschema dependencies
See merge request gitlab-org/gitaly!4412
-rw-r--r-- | .gitlab-ci.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 747b393ae..3aa32f29b 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 @@ -253,6 +261,7 @@ dbschema: stage: test cache: - *cache_deps_configuration + - *cache_gems_configuration - *cache_go_configuration services: # The database version we use must match the version of `pg_dump` we have |