Commit graph

11360 commits

Author SHA1 Message Date
Chef Expeditor
9890f1fe54 Bump version to 6.4.66 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-09-30 01:04:12 +00:00
Sonu Saha
bd87867989
CHEF-6429: Update omnibus config to use updated signing method for msi packages (#6658)
* OMNIBUS CONFIG: Update omnibus config to sign msi packages with updated method

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

* TEMP: A temporary change to verify windows build

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

* Revert Gemfile temp changes for omnibus

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

---------

Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2023-09-29 21:02:40 -04:00
Sathish Babu
e1d39e581a
CHEF-6422 Modify inspec archive to not check or export by default (#6659)
* make profile check optional

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

* Clarify error message when making inspec check optional

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

* Add test fixture profile that emits evaluation markers on stderr

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

* Make export to inspec.json optional, not enabled by default

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

* Add test confirming non-evaluative archive

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

* Fix failing plugin search test, failing since we published a new test gem

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>
2023-09-29 18:12:37 -04:00
Chef Expeditor
4b8efce087 Bump version to 6.4.65 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-09-29 13:15:53 +00:00
Vasundhara Jagdale
904bdf2345
Revert "Update html-proofer requirement from ~> 3.19.4 to ~> 5.0.8 (#6697)" (#6717)
This reverts commit 12e8e93b91.
2023-09-29 18:44:14 +05:30
Chef Expeditor
42cb71fb1e Bump version to 6.4.64 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-09-29 11:33:29 +00:00
dependabot[bot]
99fc6e9c44
Update hashie requirement from >= 3.4, < 5.0 to >= 3.4, < 6.0 (#6696)
Updates the requirements on [hashie](https://github.com/hashie/hashie) to permit the latest version.
- [Release notes](https://github.com/hashie/hashie/releases)
- [Changelog](https://github.com/hashie/hashie/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hashie/hashie/compare/v3.4.0...v5.0.0)

---
updated-dependencies:
- dependency-name: hashie
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-29 17:02:25 +05:30
Chef Expeditor
77436d0ad9 Bump version to 6.4.63 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-09-29 11:21:21 +00:00
dependabot[bot]
12e8e93b91
Update html-proofer requirement from ~> 3.19.4 to ~> 5.0.8 (#6697)
Updates the requirements on [html-proofer](https://github.com/gjtorikian/html-proofer) to permit the latest version.
- [Release notes](https://github.com/gjtorikian/html-proofer/releases)
- [Changelog](https://github.com/gjtorikian/html-proofer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gjtorikian/html-proofer/compare/v3.19.4...v5.0.8)

---
updated-dependencies:
- dependency-name: html-proofer
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-29 16:50:16 +05:30
Chef Expeditor
4a21ee2698 Update CHANGELOG.md with details from pull request #6693
Obvious fix; these changes are the result of automation not creative thinking.
2023-09-29 10:20:48 +00:00
dependabot[bot]
62b87af0ad
Update json_schemer requirement from >= 0.2.1, < 0.2.19 to >= 0.2.1, < 2.0.1 (#6693)
Updates the requirements on [json_schemer](https://github.com/davishmcclurg/json_schemer) to permit the latest version.
- [Changelog](https://github.com/davishmcclurg/json_schemer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/davishmcclurg/json_schemer/compare/v0.2.1...v2.0.0)

---
updated-dependencies:
- dependency-name: json_schemer
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-29 15:49:52 +05:30
Chef Expeditor
888404ceb5 Bump version to 6.4.62 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-09-26 07:56:46 +00:00
Clinton Wolfe
1f3b5ea098
Fix failing plugin search test, failing since we published a new test gem (#6674)
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2023-09-26 00:55:43 -07:00
Chef Expeditor
8819e16ceb Bump version to 6.4.61 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-09-26 06:15:03 +00:00
dependabot[bot]
f0b84e3bb5
Bump omnibus from 56015cb to 82dae89 in /omnibus (#6679)
Bumps [omnibus](https://github.com/chef/omnibus) from `56015cb` to `82dae89`.
- [Release notes](https://github.com/chef/omnibus/releases)
- [Commits](56015cba34...82dae896a0)

---
updated-dependencies:
- dependency-name: omnibus
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-26 11:44:03 +05:30
Chef Expeditor
f9bb47a18a Bump version to 6.4.60 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-09-25 23:06:28 +00:00
dependabot[bot]
8b2d013253
Bump omnibus-software from 3268356 to c44dea9 in /omnibus (#6665)
Bumps [omnibus-software](https://github.com/chef/omnibus-software) from `3268356` to `c44dea9`.
- [Commits](3268356b2e...c44dea9a73)

---
updated-dependencies:
- dependency-name: omnibus-software
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2023-09-25 19:05:20 -04:00
Chef Expeditor
544541883a Update CHANGELOG.md with details from pull request #6670
Obvious fix; these changes are the result of automation not creative thinking.
2023-09-25 23:04:19 +00:00
dependabot[bot]
2e91531f1d
Bump omnibus from 9c0643a to 56015cb in /omnibus (#6670)
Bumps [omnibus](https://github.com/chef/omnibus) from `9c0643a` to `56015cb`.
- [Release notes](https://github.com/chef/omnibus/releases)
- [Commits](9c0643a3a4...56015cba34)

---
updated-dependencies:
- dependency-name: omnibus
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-25 19:03:21 -04:00
Sonu Saha
f593e065f5
EULA: Update latest EULA - 31AUG2023 (#6654)
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2023-09-25 18:42:33 -04:00
Chef Expeditor
6d30271cec Bump version to 6.4.59 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-09-25 22:16:19 +00:00
Ian Maddaus
d169af7cdf
Move InSpec menu from chef-web-docs (#6657)
Signed-off-by: Ian Maddaus <ian.maddaus@progress.com>
2023-09-25 18:15:14 -04:00
Chef Expeditor
7c46d14f3b Bump version to 6.4.58 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-09-12 14:37:48 +00:00
Vasundhara Jagdale
95c17d4e7f
CHEF-3849: InSpec should exit quickly and clearly if waiver file is malformed/corrupt (#6644)
* Functional test for malformed waiver file

Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>

* Raise error for malformed yaml content and exit

Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>

* Updates functional test for malformed yaml waiver file and for empty waiver file

Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>

* Raises error in case of missing required parameters in waiver file

Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>

* Update functional test for missing parameters, extra parameters or column without headers in waiver file

Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>

* Fix linting

Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>

* Fix warning and error messages

Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>

* Updates nil and false check for yaml data and adds additional empty check.

Co-authored-by: Sathish Babu <80091550+sathish-progress@users.noreply.github.com>
Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>

* Adds more generic message as this yaml reader is now getting used by other functionalities like waiver file

Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>

* Fixed test description to reflect correct use case

Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>

* Fix validate headers was not validating the required parametes for all the data fields as it was not called inside the loop where we are iterating over the data and fetching the headers.

Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>

* Updates the test files for the use case to missing parameters and extra parameters

Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>

* Updates code to better handle errors and warnings related to missing required parameters and extra parameters in waivers file in all format i.e (yaml, json and csv).

Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>

* Updated functional test to capture the updated error and warning messages for waiver file validation

Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>

* Fix linting

Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>

* Deleted fixture file which is not required

Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>

* Refactor: Renamed method validate_headers to reflect whats it's doing and instead of return data in array it will now return the data in hash

Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>

---------

Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>
Co-authored-by: Sathish Babu <80091550+sathish-progress@users.noreply.github.com>
2023-09-12 10:36:40 -04:00
Chef Expeditor
510c0bb9d4 Bump version to 6.4.57 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-09-11 23:40:21 +00:00
Sonu Saha
1dacaedc12
CHEF-5898: Update latest EULA as used in MacOS installers (#6652)
* EULA: Update latest EULA - 31AUG2023 in html-erb

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

* Remove html tags in eula

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

* CHORE: Fix known indentation

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

* CHORE: Fix indentation - 2

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

* CHORE: Break lines to maintain formatting

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

---------

Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2023-09-11 19:39:14 -04:00
Chef Expeditor
9f63ecc598 Bump version to 6.4.56 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-09-11 23:31:23 +00:00
Ian Maddaus
a391073886
Revert CLI docs page changes (#6650)
* Revert change to CLI page in b59e2cb

Signed-off-by: Ian Maddaus <ian.maddaus@progress.com>

* Reformat options so they are a description list

Signed-off-by: Ian Maddaus <ian.maddaus@progress.com>

* Add license content from #6583

Signed-off-by: Ian Maddaus <ian.maddaus@progress.com>

---------

Signed-off-by: Ian Maddaus <ian.maddaus@progress.com>
2023-09-11 19:30:20 -04:00
Chef Expeditor
13c1ffd0e7 Bump version to 6.4.55 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-09-08 13:20:52 +00:00
Ian Maddaus
99b520c8d9
Add license key error to troubleshooting page (#6609)
* Add license key error to troubleshooting page

Signed-off-by: Ian Maddaus <ian.maddaus@progress.com>

* Exit code text

Signed-off-by: Ian Maddaus <ian.maddaus@progress.com>

* Corrections

Signed-off-by: Ian Maddaus <ian.maddaus@progress.com>

---------

Signed-off-by: Ian Maddaus <ian.maddaus@progress.com>
2023-09-08 09:19:43 -04:00
Chef Expeditor
9d0271f8d4 Update CHANGELOG.md with details from pull request #6649
Obvious fix; these changes are the result of automation not creative thinking.
2023-09-06 08:59:14 +00:00
Vasundhara Jagdale
2803978329
Fix liniting (#6649)
Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>
2023-09-06 14:28:22 +05:30
Chef Expeditor
fb6c79ef5b Bump version to 6.4.54 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-09-05 14:52:37 +00:00
Nikita Mathur
97d1ac1cf5
Updated URL for chef licensing global service (#6647)
Signed-off-by: Nik08 <nikita.mathur@progress.com>
2023-09-05 10:51:38 -04:00
Chef Expeditor
84af783e64 Bump version to 6.4.53 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-09-05 14:35:22 +00:00
Vasundhara Jagdale
addc2feccd
Pin ffi-yajl (#6628)
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>
2023-09-05 10:34:16 -04:00
Chef Expeditor
f07012fa1f Bump version to 6.4.52 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-09-05 11:53:52 +00:00
Ian Maddaus
73b6a2b1d7
Update podman.md (#6502)
Signed-off-by: Ian Maddaus <ian.maddaus@progress.com>

Fix missing quotation mark in podman.md
2023-09-05 17:22:47 +05:30
Vasundhara Jagdale
8ee7bc946d
CHEF-642 Fix for inspec exec fails with git fetcher if current directory does not have .git directory (#6626)
* Functional Test to verify git fetcher able to work in a directory where git is not initialized or does not contain the .git directory

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>

* Fix: If git branch, tag or reference information is not given it should clone the repo and checkout the default HEAD

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>

* Remove the logic to find default branch in case of branch, tag or ref is not provided as it's not required logically as we will be cloning the and checkout the default HEAD

Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>

* This is a temporary change to make verify test working on this PR. Revert once the work is done for the git fetcher fix

Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>

* Unit Test: Fix unit test

Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>

* Verifies the git url before creating cache_key, if given relative path does not exist make sure it deletes the cache directory created to copy the cloned repo. It raises error if any git command fails

Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>

* Reverted verify git repo url call from cache_key as cache_key and shifted that to resolve_ref which is already raising the error in case of git ls remote command fails

Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>

* Unit test to cover the changes done for resolve_ref when branch, tag or ref is not given and
unit test for invalid git repo

Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>

---------

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>
2023-08-31 20:06:24 +05:30
Chef Expeditor
eeb140adeb Bump version to 6.4.51 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-08-31 13:44:03 +00:00
Vasundhara Jagdale
55d97e9b3d
Adds missing expeditor configuration for inspec 6 release (#6624)
* Missing configurations which will be required for inspec 6 release

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>

* Moved the trigger omnibus release inside pull request merge

Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>

* Adds missing top level rubygems expeditor configuration

Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>

---------

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>
2023-08-31 09:42:45 -04:00
Chef Expeditor
61be7f0267 Bump version to 6.4.50 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-08-31 09:55:15 +00:00
Vasundhara Jagdale
c4743a2833
Adds missing release-rollup tag in CHANGELOG file (#6639)
Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>
2023-08-31 15:24:08 +05:30
Chef Expeditor
cc445a114d Bump version to 6.4.49 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-08-30 23:27:20 +00:00
Clinton Wolfe
a7363ca867
Explicitly list which gems to pull from Artifactory (#6627)
* Try explicit list of gems to pull from artifactory to avoid issue on CI

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

* Fix linting

Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>

---------

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>
Co-authored-by: Vasu1105 <vasundhara.jagdale@progress.com>
2023-08-30 19:26:13 -04:00
Chef Expeditor
2f7627fac2 Bump version to 6.4.48 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-08-22 14:36:45 +00:00
Clinton Wolfe
0c68b0244e
Merge pull request #6610 from inspec/vasundhara/move-chef-licensing-dependency-to-gemspec
Move chef-licensing gem dependency to inspec gemspec file
2023-08-22 10:35:22 -04:00
Chef Expeditor
b344b5a25d Bump version to 6.4.47 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-08-22 14:33:13 +00:00
Clinton Wolfe
c948e30de5
Merge pull request #6611 from inspec/nm/exit-code-change-on-no-license
Exit code changes when chef license key not found and set for inspec
2023-08-22 10:31:54 -04:00
Clinton Wolfe
dd2b9224ce Configure Gemfile to read from Artifactory for internal Chef builds
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2023-08-22 10:30:55 -04:00