mirror of
https://github.com/inspec/inspec
synced 2024-11-23 13:13:22 +00:00
caccc654f4
* 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>
14 lines
426 B
PowerShell
14 lines
426 B
PowerShell
echo "--- system details"
|
|
$Properties = 'Caption', 'CSName', 'Version', 'BuildType', 'OSArchitecture'
|
|
Get-CimInstance Win32_OperatingSystem | Select-Object $Properties | Format-Table -AutoSize
|
|
ruby -v
|
|
bundle --version
|
|
|
|
echo "--- bundle install"
|
|
bundle config set --local without deploy kitchen
|
|
bundle install --jobs=7 --retry=3
|
|
|
|
echo "+++ bundle exec rake test:parallel"
|
|
bundle exec rake test:parallel K=4
|
|
|
|
exit $LASTEXITCODE
|