diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2022-05-12 21:38:56 +0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2022-05-12 21:38:56 +0300 |
commit | 94b9677696a22b85ccc7fd9857a204ae8c958aaf (patch) | |
tree | 6755fe965284f645f0235276df632781c66c0664 /.gitlab-ci.yml | |
parent | e0cf214694e72d0ebde80f21219037e1387b37e6 (diff) |
Update Ruby CI template to use `--deployment` mode for bundle install1181-investigate-and-configure-bundle-on-ci-to-disallow-any-changes-to-gemfile-lock
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f2a4cf87..3c7bfe4f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,7 +16,7 @@ default: - ruby -v - gem -v - bundle -v - - bundle config set path 'vendor' + - bundle config set --local deployment true # Install dependencies into ./vendor/ruby - NOKOGIRI_USE_SYSTEM_LIBRARIES=1 bundle install --jobs 4 .yarn: @@ -382,6 +382,7 @@ test_EOL_whitespace: script: - yarn global add markdownlint-cli@$MARKDOWNLINT_VERSION - apk add jq + - bundle config set --local deployment true # Install dependencies into ./vendor/ruby - bundle install - bundle exec rake setup_git default - markdownlint --config tasks/whitespace_task.yml '../gitlab/doc/**/*.md' '../gitlab-runner/doc/**/*.md' '../omnibus-gitlab/doc/**/*.md' '../charts-gitlab/doc/**/*.md' @@ -397,6 +398,7 @@ test_unlinked_images: dependencies: [] script: - apk add jq + - bundle config set --local deployment true # Install dependencies into ./vendor/ruby - bundle install - bundle exec rake setup_git default - cp tasks/unlinked-images.sh ../gitlab/unlinked-images.sh |