mirror of
https://github.com/inspec/inspec
synced 2025-02-16 14:08:36 +00:00
CFINSPEC-553: Fix failing verify pipeline builds on ruby 3.0 (#6378)
* 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 Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io> * Removes all excluded groups from the bundle config set which was removed from the Gemfile. Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io> * Exclude the gem dependencies for kitchen for omnibus builds Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io> * Exclude the kitchen dependencies on windows platform too Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io> Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
This commit is contained in:
parent
73f65d33b7
commit
7bd2788654
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…
Add table
Reference in a new issue