diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2022-05-13 10:54:46 +0300 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2022-05-13 10:54:46 +0300 |
commit | 05a37594483245eb39bedc925f15241900d0f91e (patch) | |
tree | 6755fe965284f645f0235276df632781c66c0664 | |
parent | e0cf214694e72d0ebde80f21219037e1387b37e6 (diff) | |
parent | 94b9677696a22b85ccc7fd9857a204ae8c958aaf (diff) |
Merge branch '1181-investigate-and-configure-bundle-on-ci-to-disallow-any-changes-to-gemfile-lock' into 'main'
Update CI template to use `--deployment` mode for bundle install
Closes #1181
See merge request gitlab-org/gitlab-docs!2655
-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 |