Stop using deprecated --without argument
We've seen the following warning in CI jobs. ``` [DEPRECATED] The `--without` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set --local without 'system_tests'`, and stop using this flag ``` This updates the usage accordingly. Change-Id: I9bddeea04ae0469b8074795b08f71ddd4ac6238e
This commit is contained in:
parent
47ea9d4991
commit
6225d065c0
@ -26,7 +26,8 @@
|
||||
cmd += ' -v 2.2.11'
|
||||
system(cmd)
|
||||
EOF
|
||||
$GEM_BIN_DIR/bundle install --without system_tests --retry 3
|
||||
$GEM_BIN_DIR/bundle config set --local without system_tests
|
||||
$GEM_BIN_DIR/bundle install --retry 3
|
||||
$GEM_BIN_DIR/bundle exec rake lint 2>&1
|
||||
if [ -f metadata.json ]; then
|
||||
$GEM_BIN_DIR/bundle exec rake metadata_lint 2>&1
|
||||
|
@ -23,7 +23,8 @@
|
||||
cmd += ' -v 2.2.11'
|
||||
system(cmd)
|
||||
EOF
|
||||
$GEM_BIN_DIR/bundle install --without system_tests --retry 3
|
||||
$GEM_BIN_DIR/bundle config set --local without system_tests
|
||||
$GEM_BIN_DIR/bundle install --retry 3
|
||||
export RSPEC_DEBUG=true
|
||||
$GEM_BIN_DIR/bundle exec rake litmus:acceptance:localhost
|
||||
chdir: '{{ ansible_user_dir }}/workspace'
|
||||
|
Loading…
Reference in New Issue
Block a user