Commit 81019d82 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'sh-fix-cache-gems' into 'master'

Fix cache gems CI step

Closes #229520

See merge request gitlab-org/gitlab!37076
parents 32a7487c d0d3d313
...@@ -9,6 +9,7 @@ cache gems: ...@@ -9,6 +9,7 @@ cache gems:
stage: test stage: test
needs: ["setup-test-env"] needs: ["setup-test-env"]
variables: variables:
BUNDLE_INSTALL_FLAGS: --with=production --with=development --with=test --jobs=2 --path=vendor --retry=3 --quiet
SETUP_DB: "false" SETUP_DB: "false"
script: script:
- bundle package --all --all-platforms - bundle package --all --all-platforms
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
export SETUP_DB=${SETUP_DB:-true} export SETUP_DB=${SETUP_DB:-true}
export USE_BUNDLE_INSTALL=${USE_BUNDLE_INSTALL:-true} export USE_BUNDLE_INSTALL=${USE_BUNDLE_INSTALL:-true}
export BUNDLE_INSTALL_FLAGS="--without=production --without=development --jobs=$(nproc) --path=vendor --retry=3 --quiet" export BUNDLE_INSTALL_FLAGS=${BUNDLE_INSTALL_FLAGS:-"--without=production --without=development --jobs=$(nproc) --path=vendor --retry=3 --quiet"}
if [ "$USE_BUNDLE_INSTALL" != "false" ]; then if [ "$USE_BUNDLE_INSTALL" != "false" ]; then
bundle --version bundle --version
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment