Commit graph

11189 commits

Author SHA1 Message Date
Vasundhara Jagdale
ecce508ee0
Sync up the default branch as main (#6239) (#6455)
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
Co-authored-by: Takuya N <takninnovationresearch@gmail.com>
2023-02-24 14:20:00 +05:30
Chef Expeditor
c72b757945 Bump version to 6.2.11 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-24 07:56:10 +00:00
Vasundhara Jagdale
3685eff535
RESOURCE-527 Add an inspec init template for alicloud (#6304) (#6432)
* 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>
2023-02-24 13:25:09 +05:30
Chef Expeditor
5d8518b9fa Bump version to 5.21.32 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-03 08:27:16 +00:00
Chef Expeditor
fe187f73c7 Bump version to 5.21.31 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-03 08:25:17 +00:00
Vasundhara Jagdale
7cff4cdf86
Updates release process docs as per current changes (#6398)
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2023-02-03 13:54:31 +05:30
Vasundhara Jagdale
b3181ef903
CFINSPEC-573: Fix for mongo_session resources prints debug level of information in output of the run result. (#6401)
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2023-02-03 13:54:08 +05:30
Chef Expeditor
444c53e5db Bump version to 5.21.30 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-03 07:49:56 +00:00
Sonu Saha
f72b0fa2b3
Merge pull request #6384 from inspec/ss/update-cli-docs-rake-task
CFINSPEC-554: Update CLI Docs rake task to work with current InSpec docs.
2023-02-03 13:18:38 +05:30
Sonu Saha
724b5c5f60 REFACTOR: Remove repetitive dl closing for subcommands of single command
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2023-02-02 12:45:25 +05:30
Sonu Saha
5d9e023828 FORMAT: Use html dl, dt, dd tags for displaying subcommands
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2023-02-01 16:32:00 +05:30
Sonu Saha
e70d8091d6 Remove unused require
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2023-02-01 10:39:19 +05:30
Sonu Saha
b59e2cb92a DOCS: Generate cli.md with rake docs:cli
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2023-01-31 21:31:45 +05:30
Sonu Saha
9137afd84c RAKE TEST: Fix rake task for docs:cli
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2023-01-31 21:31:06 +05:30
Sonu Saha
ae90a28838
CFINSPEC-522: Remove rake tasks which are no longer used (#6367)
* 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>
2023-01-31 10:07:38 -05:00
Chef Expeditor
9a4da5cca6 Executed '.expeditor/update_dockerfile.sh'
Obvious fix; these changes are the result of automation not creative thinking.
2023-01-24 15:25:51 +00:00
Chef Expeditor
81e11ff940 Bump version to 5.21.29 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-01-24 05:54:46 +00:00
Clinton Wolfe
122e9bff72
Update copyright year in README (#6395)
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2023-01-24 00:53:45 -05:00
Chef Expeditor
dce7f206e1 Bump version to 5.21.28 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-01-24 01:29:24 +00:00
sean-simmons-progress
227b0f2d35
adding new private verify, as this will kick off the expeditor bump version (#6397)
Signed-off-by: Sean Simmons <ssimmons@progress.com>

Signed-off-by: Sean Simmons <ssimmons@progress.com>
2023-01-23 20:28:16 -05:00
Vasundhara Jagdale
8c3f432967
Add ruby-msys2-devkit as dependency and check (#6391)
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2023-01-19 17:31:21 +05:30
Chef Expeditor
778edb020a Bump version to 5.21.27 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-01-18 16:27:30 +00:00
Vasundhara Jagdale
7538ba387a
Bump version of omnibus-software (#6385)
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2023-01-18 11:26:25 -05:00
Chef Expeditor
0cb4b6c06e Bump version to 5.21.26 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-01-17 12:31:03 +00:00
Nikita Mathur
74e69e6acd
CFINSPEC-542 Bug fix for profiles with dependent profiles (#6377)
* 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>
2023-01-17 07:29:52 -05:00
Chef Expeditor
1677273fd9 Bump version to 5.21.25 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-01-17 12:29:00 +00:00
Nikita Mathur
ae1173c0b3
CFINSPEC-240 Extended file format support for waivers: JSON & CSV (#6369)
* 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>
2023-01-17 07:27:47 -05:00
Chef Expeditor
833a7959f9 Bump version to 5.21.24 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-01-16 14:21:26 +00:00
Vasundhara Jagdale
6ec5c5020f
Ruby 3.1 support: Adds ucrt platform to resolve windows omnibus build. (#6381)
* 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>
2023-01-16 09:20:09 -05:00
Chef Expeditor
a31d6c0134 Bump version to 5.21.23 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-01-16 07:04:48 +00:00
Vasundhara Jagdale
7bd2788654
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>
2023-01-16 12:33:42 +05:30
Chef Expeditor
73f65d33b7 Bump version to 5.21.22 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-01-06 05:54:20 +00:00
Vasundhara Jagdale
7f42f1c7f0
Revert the nokogiri dependency from omnibus project configuration (#6372)
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2023-01-06 11:23:12 +05:30
Chef Expeditor
b98363a05e Bump version to 5.21.21 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-01-04 10:33:19 +00:00
Nikita Mathur
30146e07fe
Revert "CFINSPEC-240 Extended file format support for waivers (#6193)" (#6366)
This reverts commit b7ddac9dcc.
2023-01-04 16:02:16 +05:30
Chef Expeditor
de3ab874d5 Update CHANGELOG.md with details from pull request #6341
Obvious fix; these changes are the result of automation not creative thinking.
2023-01-03 15:07:54 +00:00
Chef Expeditor
a2c8de2bdf Bump version to 5.21.20 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-01-03 15:06:06 +00:00
Chef Expeditor
4404c7bf57 Bump version to 5.21.19 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-01-03 15:04:14 +00:00
Clinton Wolfe
11784ceb5d
Fix omnibus build which is picking ruby 2.7.4 which has vulnerability (#6341)
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
Co-authored-by: Vasu1105 <vasundhara.jagdale@chef.io>
2023-01-03 10:02:48 -05:00
Chef Expeditor
649347d411 Bump version to 5.21.18 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-01-03 15:02:12 +00:00
Vasundhara Jagdale
326b6bfd47
CFINSPEC-533: Fix undefined method 'summary' for Gem::SourceFetchProblem (NoMethodError) when airgapped (#6337)
* 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>
2023-01-03 10:01:49 -05:00
Clinton Wolfe
a8e0c5c435
Fix env smoke test by updating ERB.new in inspec env; add additional test (#6342)
* 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>
2023-01-03 10:00:34 -05:00
Chef Expeditor
5a4247ae04 Bump version to 5.21.17 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-01-03 15:00:06 +00:00
Micah Magruder
be56fead39
Fixing typo in user_permissions (#6344)
* Fixing typo in user_permissions

Signed-off-by: Magruder, Micah <Micah.Magruder@oracle.com>

* Corrected spacing

Signed-off-by: Magruder, Micah <Micah.Magruder@oracle.com>

Signed-off-by: Magruder, Micah <Micah.Magruder@oracle.com>
2023-01-03 09:59:30 -05:00
Nikita Mathur
285b2d0bc0
Upgraded mock ubuntu test from 20.04 to 22.04 (#6351)
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2023-01-03 09:58:58 -05:00
Chef Expeditor
9c1abfebd2 Bump version to 5.21.16 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-01-03 14:58:11 +00:00
Vasundhara Jagdale
7fa49e5132
CFINSPEC-517: Fix for habitat buld failure (#6340)
* 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>
2023-01-03 09:57:01 -05:00
Chef Expeditor
20f8d3b67f Bump version to 5.21.15 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-12-01 15:19:41 +00:00
Vasundhara Jagdale
036bc32f9b
CFINSPEC-393 - Fix for custom plugin loading issue when gemspec file is invalid and unable to load the lib path. (#6334)
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-12-01 10:18:40 -05:00
Chef Expeditor
f83d593e74 Bump version to 6.2.10 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-11-30 05:52:20 +00:00