CFINSPEC-553: Fix failing verify pipeline builds on ruby 3.0 (#6378) (#6453)

* 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:
Sonu Saha 2023-02-24 19:03:59 +05:30 committed by GitHub
parent edea41a311
commit caccc654f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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