]> cat aescling's git repositories - mastodon.git/commitdiff
CI: set bundle in deployment mode
authoraescling <11325618-aescling@users.noreply.gitlab.com>
Wed, 16 Nov 2022 03:58:41 +0000 (03:58 +0000)
committeraescling <11325618-aescling@users.noreply.gitlab.com>
Wed, 16 Nov 2022 03:58:41 +0000 (03:58 +0000)
This will require Gemfile.lock integrity for a CI build to pass, like we
reuquire on prod.

.gitlab-ci.yml

index bee338a39aa7a654e8cee9480fe339bb906157c6..7a20909a26d996ebf88ab18f3d54054b1eb8d5ba 100644 (file)
@@ -48,6 +48,7 @@ before_script:
   - apt-get update -q && apt-get install -yqq git libicu-dev libidn11-dev nodejs
   - corepack enable && yarn set version latest
   - bundle config set path 'vendor'
+  - bundle config set deployment 'true'
   - bundle config without 'development production'
   - ruby -v
   - bundle install -j $(nproc)