Commit graph

10815 commits

Author SHA1 Message Date
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
310bc1a5b0 Bump version to 5.21.14 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-11-29 23:38:41 +00:00
Sonu Saha
3532c41634
Update readme for usage via Docker (CFINSPEC-516) (#6329)
* DOCS: Update readme for usage via Docker (CFINSPEC-516)

Signed-off-by: Sonu Saha <sonu.saha@progress.com>

* DOCS: Explain updated readme (CFINSPEC-516)

Signed-off-by: Sonu Saha <sonu.saha@progress.com>

Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-11-29 18:37:44 -05:00
Chef Expeditor
130c99c88f Bump version to 5.21.13 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-11-29 17:14:47 +00:00
Takuya N
d8195bdc4b
Update chefstyle from 2.0.x to 2.2.2 to use RuboCop 1.25.1 (#6240)
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>

Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2022-11-29 12:13:49 -05:00
Chef Expeditor
90f8a30bcc Bump version to 5.21.12 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-11-29 14:38:17 +00:00
dtheyer
0695b0dbc8
Prevent negative status from crashing launchd service resource (#6262)
Signed-off-by: dtheyer <davidheyer2016@gmail.com>

Signed-off-by: dtheyer <davidheyer2016@gmail.com>
2022-11-29 09:37:12 -05:00
Chef Expeditor
1215f22e0e Bump version to 5.21.11 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-11-29 14:35:47 +00:00
Clinton Wolfe
1ae835af73
Remove Windows 3.0 testing. Chef 18 was never released for Ruby 3.0, only 3.1 (#6330)
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-11-29 09:34:45 -05:00
Chef Expeditor
057f187b79 Bump version to 5.21.10 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-11-28 00:12:43 +00:00
Sathish Babu
a1aa3302bd
Cfinspec 488 fix nokigiri omnibus (#6305)
* update signing_identity

Signed-off-by: Sathish <sbabu@progress.com>

* pin chef 17.0 to ruby 2.7

Signed-off-by: Sathish <sbabu@progress.com>

* add nokogiri as dependency

Signed-off-by: Sathish <sbabu@progress.com>

* pin chef to older version for ruby version lesser than 3.0

Signed-off-by: Sathish <sbabu@progress.com>

* Linting

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

Signed-off-by: Sathish <sbabu@progress.com>
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
Co-authored-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-11-27 19:11:46 -05:00