* test github action
Signed-off-by: Sean Simmons <ssimmons@progress.com>
* adding verify private to this pipeline
Signed-off-by: Sean Simmons <ssimmons@progress.com>
* adding private pipeline definition file
Signed-off-by: Sean Simmons <ssimmons@progress.com>
* testing workflow
Signed-off-by: Sean Simmons <ssimmons@progress.com>
* forcing public false
Signed-off-by: Sean Simmons <ssimmons@progress.com>
---------
Signed-off-by: Sean Simmons <ssimmons@progress.com>
* test github action
Signed-off-by: Sean Simmons <ssimmons@progress.com>
* adding verify private to this pipeline
Signed-off-by: Sean Simmons <ssimmons@progress.com>
* adding private pipeline definition file
Signed-off-by: Sean Simmons <ssimmons@progress.com>
---------
Signed-off-by: Sean Simmons <ssimmons@progress.com>
* Import simplified expeditor config from inspec-prime inspec-6 branch. Significantly, privatize the verify pipeline.
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
* Import verify scripts from inspec-prime inspec-6 branch
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
* Remove public: false per sean
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
---------
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
* Dependent profiles fix for any scheme of version used in profiles
* Dependent profile fix when version is blank in dependent profiles
---------
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
Co-authored-by: Nikita Mathur <Nik08@users.noreply.github.com>
* Test profile consist of custom resource which has a gem dependency
* CFINSPEC-576 Fix for profile gem depedency loading issue if depedent gem is required in libraries files of the profile
* Fix windows test failure for profile gem dependency
---------
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
* DOCS: Generate cli.md with rake docs:cli
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
* Remove unused require
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
* FORMAT: Use html dl, dt, dd tags for displaying subcommands
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
* REFACTOR: Remove repetitive dl closing for subcommands of single command
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
---------
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
Co-authored-by: Sonu Saha <sonu.saha@progress.com>
* CLEAN-UP: Remove unused rake tasks
missing, kitchen and version tasks are not used
* 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
* CLEAN-UP: Remove unused docs related tasks
* CLEAN-UP: Remove tasks/* from expeditor config
* REVERT: Undo deletion of functional test
* RECOVER: Retain docs:cli task
* UNDO: Revert changes to config
* CHORE: Add reference to this PR in note for future use
---------
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
Co-authored-by: Sonu Saha <98935583+ahasunos@users.noreply.github.com>
* Matching semver using regex to determine profile name without version in dsl logic
* Testing for selecting control using version in require control dsl
* Documentation for using version with profile name when including or selecting controls in a profile
* Commenting in dsl library about logic for fetching version and matching it
* Comment for regex used to fetch version
* Minor improvement for regex variable placement
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
Co-authored-by: Nikita Mathur <Nik08@users.noreply.github.com>
* 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>
* Removed excel file format support for attestations file (#6370)
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
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>
Co-authored-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
* 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 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.
* Adds test for reading description from local gemspec file.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
* Failing test for Ruby 3.1 - ERB.new call options changed
* Fix for Ruby 3.1 by using named params to ERB.new
* Restrict test to non-windows systems
* Restrict test to non-windows systems
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
Co-authored-by: Clinton Wolfe <clintoncwolfe@gmail.com>