mirror of
https://github.com/inspec/inspec
synced 2024-11-10 07:04:15 +00:00
* bundle install without kitchen group from Gemfile as verify pipeline is breaking for ruby 3.0 as Chef 18 requires to be work with ruby 3.1. In future we will be removing the support for ruby 3.0 as Chef 18 never released with ruby 3.0 * Removes all excluded groups from the bundle config set which was removed from the Gemfile. * Exclude the gem dependencies for kitchen for omnibus builds * Exclude the kitchen dependencies on windows platform too Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io> Co-authored-by: Vasundhara Jagdale <vasundhara.jagdale@chef.io>
This commit is contained in:
parent
edea41a311
commit
caccc654f4
4 changed files with 4 additions and 4 deletions
|
@ -5,7 +5,7 @@ ruby -v
|
|||
bundle --version
|
||||
|
||||
echo "--- bundle install"
|
||||
bundle config set --local without tools maintenance deploy
|
||||
bundle config set --local without deploy kitchen
|
||||
bundle install --jobs=7 --retry=3
|
||||
|
||||
echo "+++ bundle exec rake test:parallel"
|
||||
|
|
|
@ -37,7 +37,7 @@ pull_bundle
|
|||
|
||||
echo "--- bundle"
|
||||
bundle config --local path vendor/bundle
|
||||
bundle config set --local without tools maintenance deploy
|
||||
bundle config set --local without deploy kitchen
|
||||
bundle install --jobs=7 --retry=3
|
||||
|
||||
echo "--- push bundle cache"
|
||||
|
|
|
@ -7,7 +7,7 @@ set -ue
|
|||
echo "--- bundle install"
|
||||
|
||||
cd www
|
||||
bundle config set --local without tools maintenance deploy
|
||||
bundle config set --local without deploy
|
||||
bundle install --jobs=7 --retry=3
|
||||
|
||||
echo "+++ bundle exec rake"
|
||||
|
|
|
@ -35,7 +35,7 @@ build do
|
|||
|
||||
# We bundle install to ensure the versions of gems we are going to
|
||||
# appbundle-lock to are definitely installed
|
||||
bundle "config set --local without test integration tools maintenance", env: env
|
||||
bundle "config set --local without test kitchen", env: env
|
||||
bundle "install", env: env
|
||||
|
||||
gem "build #{name}-core.gemspec", env: env
|
||||
|
|
Loading…
Reference in a new issue