diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2021-12-08 12:12:50 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2021-12-08 12:12:50 +0300 |
commit | bc27aa6e3e862217c592251917546cd91797da94 (patch) | |
tree | 1dbf42749e106cff23de8ea82e21e649b57af1fd /.gitlab-ci.yml | |
parent | 443de603ae81c65ff5e98315d708b8038f27d998 (diff) |
ci: Fix ineffective Ruby cache
The Ruby cache is pointing to `ruby/vendor`, but we're not in fact
fetching our Gems into this directory anymore. Fix this by setting
`BUNDLE_PATH`.
Diffstat (limited to '.gitlab-ci.yml')
-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 6e3983ec5..0affab0ce 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,6 +18,7 @@ variables: RUBY_VERSION: "2.7" POSTGRES_VERSION: "12.6-alpine" PGBOUNCER_VERSION: "1.16.1" + BUNDLE_PATH: "${CI_PROJECT_DIR}/.ruby" include: - template: Workflows/MergeRequest-Pipelines.gitlab-ci.yml @@ -44,7 +45,7 @@ include: - ruby/Gemfile.lock prefix: ruby-${RUBY_VERSION} paths: - - ruby/vendor/bundle + - .ruby policy: pull .test_template: &test_definition |