* adding the alicloud in the spec.files
* adding the test for generating inspec profile alicloud
* adding the alicloud profile
* fix lint error
Signed-off-by: Soumyodeep Karmakar <soumyo.k13@gmail.com>
Co-authored-by: Soumyodeep Karmakar <63713087+soumyo13@users.noreply.github.com>
* CLEAN-UP: Remove unused rake tasks
missing, kitchen and version tasks are not used
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
* CLEAN-UP: Remove functional rake test
test:default covers both unit and functional tests
default was introduced to cover both functional and unit in PR #4102
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
* CLEAN-UP: Remove unused docs related tasks
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
* CLEAN-UP: Remove tasks/* from expeditor config
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
* REVERT: Undo deletion of functional test
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
* RECOVER: Retain docs:cli task
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
* UNDO: Revert changes to config
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
* CHORE: Add reference to this PR in note for future use
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
---------
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
* Matching semver using regex to determine profile name without version in dsl logic
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Testing for selecting control using version in require control dsl
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Documentation for using version with profile name when including or selecting controls in a profile
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Commenting in dsl library about logic for fetching version and matching it
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Comment for regex used to fetch version
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Minor improvement for regex variable placement
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Revert "Revert "CFINSPEC-240 Extended file format support for waivers (#6193)" (#6366)"
This reverts commit 30146e07fe.
* Waiver support for csv and json
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Removed the word excel from image tag
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Update waivers.md
Signed-off-by: Ian Maddaus <ian.maddaus@progress.com>
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
Signed-off-by: Ian Maddaus <ian.maddaus@progress.com>
Co-authored-by: Ian Maddaus <ian.maddaus@progress.com>
* Adds the ucrt platform support for Windows
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
* Adds the environment variable to ignore artifactory proxy as some gem are getting 500 error when tries to download from artifactory
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
* 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 fixes the undefined method 'summary' for #<Gem::SourceFetchProblem:0x000000000139dc70> (NoMethodError) while invoking any inspec command if the custom plugin is installed and if inspec commands are run in an air gap environment.
This fix removes an earlier call for getting gem specification from rubygems.org which is the cause for above error and replaces it with fetching the summary from a locally saved gemspec file. This will work in both airgap and non-airgap environments.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
* Adds test for reading description from local gemspec file.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
* Failing test for Ruby 3.1 - ERB.new call options changed
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
* Fix for Ruby 3.1 by using named params to ERB.new
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
* Restrict test to non-windows systems
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
* Restrict test to non-windows systems
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
* Fix for habitat buld failure - Git load issue
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
* Updating ruby installer version to 3.2.1
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
* Revert "Updating ruby installer version to 3.2.1"
This reverts commit 53bae0f71e.
* Checking removing the lines which are not needed.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
* Revert "Checking removing the lines which are not needed."
This reverts commit b5561abc51.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>