Commit graph

10085 commits

Author SHA1 Message Date
Nikita Mathur
8e6395e037
BACKPORT 6262: Prevent negative status from crashing launchd service resource (#6751)
* Prevent negative status from crashing launchd service resource (#6262)

Signed-off-by: dtheyer <davidheyer2016@gmail.com>

Signed-off-by: dtheyer <davidheyer2016@gmail.com>

* Add missing resource_id for service resource

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

* Rebase with inspec-4 to get hab pipeline changes

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

---------

Signed-off-by: dtheyer <davidheyer2016@gmail.com>
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
Co-authored-by: dtheyer <davidheyer2016@gmail.com>
Co-authored-by: Sonu Saha <sonu.saha@progress.com>
2023-10-09 10:27:28 -04:00
Chef Expeditor
7bb16c3c22 Update CHANGELOG.md with details from pull request #6769
Obvious fix; these changes are the result of automation not creative thinking.
2023-10-09 14:25:17 +00:00
dependabot[bot]
31c7c45be3
Bump omnibus-software from c44dea9 to 7723be6 in /omnibus (#6769)
Bumps [omnibus-software](https://github.com/chef/omnibus-software) from `c44dea9` to `7723be6`.
- [Commits](c44dea9a73...7723be6a09)

---
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>
2023-10-09 10:23:51 -04:00
Chef Expeditor
550a13bb46 Bump version to 4.56.53 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-10-04 20:23:32 +00:00
Nikita Mathur
1fd3b273b8
Backport 6351: Upgraded mock Ubuntu fixture to latest LTS version (#6457)
* Upgraded mock ubuntu test from 20.04 to 22.04

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Revert resource_id introduction and update test;
We do not support resource id in inspec-4

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

---------

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
Co-authored-by: Sonu Saha <sonu.saha@progress.com>
2023-10-04 16:22:09 -04:00
Nikita Mathur
c202742aee
CFINSPEC-573: Fix for mongo_session resources prints debug level of information in output of the run result. (#6401) (#6752)
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
Co-authored-by: Vasundhara Jagdale <vasundhara.jagdale@chef.io>
2023-10-01 20:36:55 +05:30
Chef Expeditor
23002cefa4 Bump version to 4.56.52 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-10-01 15:01:08 +00:00
Nikita Mathur
ffca66096f
CHEF-642 Fix for inspec exec fails with git fetcher if current directory does not have .git directory (#6626) (#6750)
* Functional Test to verify git fetcher able to work in a directory where git is not initialized or does not contain the .git directory



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



* 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



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



* Unit Test: Fix unit test



* 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



* 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



* 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@chef.io>
Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>
Co-authored-by: Vasundhara Jagdale <vasundhara.jagdale@chef.io>
2023-10-01 20:29:51 +05:30
Chef Expeditor
03377738a8 Update CHANGELOG.md with details from pull request #6747
Obvious fix; these changes are the result of automation not creative thinking.
2023-10-01 02:43:37 +00:00
Sonu Saha
f119f0924e
Fix Habitat package pipeline for inspec-4 (#6747)
* HAB: Add an exception to trust the workdir

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

* Updating powershell script as equivalent to shell script for hab

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

---------

Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2023-09-30 22:42:26 -04:00
Chef Expeditor
3375644d2a Bump version to 4.56.51 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-09-30 15:08:00 +00:00
Nikita Mathur
bd53153287
Backport 6741: Changed params usage in inspec archive to skip evaluation (#6742)
* Using metadata to fetch basic info as name and version required in archive

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* Typo fixes

Signed-off-by: Nik08 <nikita.mathur@progress.com>

---------

Signed-off-by: Nik08 <nikita.mathur@progress.com>
2023-09-30 20:36:41 +05:30
Chef Expeditor
39681d393f Update CHANGELOG.md with details from pull request #6745
Obvious fix; these changes are the result of automation not creative thinking.
2023-09-30 14:02:48 +00:00
Vasundhara Jagdale
fab622e181
Sets IGNORE_ARTIFACTORY_RUBY_PROXY to true for adhoc build on inspec 4 (#6745)
Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>
2023-09-30 19:31:32 +05:30
Chef Expeditor
7f99c5b956 Bump version to 4.56.50 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-09-30 11:56:22 +00:00
Vasundhara Jagdale
1069258a27
Revert "Update mongo requirement from = 2.13.2 to = 2.19.1 (#6688)" (#6744)
This reverts commit 31f6e2669d.
2023-09-30 17:25:05 +05:30
Chef Expeditor
eb4c559fe0 Update CHANGELOG.md with details from pull request #6740
Obvious fix; these changes are the result of automation not creative thinking.
2023-09-30 10:03:47 +00:00
Vasundhara Jagdale
96750dea83
Fix env smoke test by updating ERB.new in inspec env; add additional test (#6342) (#6740)
* 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>
2023-09-30 15:32:38 +05:30
Chef Expeditor
b1a81155d5 Update CHANGELOG.md with details from pull request #6738
Obvious fix; these changes are the result of automation not creative thinking.
2023-09-30 08:55:39 +00:00
Vasundhara Jagdale
72bcfad652
Adds x64-mingw-ucrt platform (#6738)
Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>
2023-09-30 04:54:33 -04:00
Chef Expeditor
09b6448007 Bump version to 4.56.49 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-09-30 06:37:06 +00:00
Clinton Wolfe
a5e29a842f
CHEF-6422 Modify inspec archive to not check or export by default (#6659) (#6720)
* make profile check optional



* Clarify error message when making inspec check optional



* Add test fixture profile that emits evaluation markers on stderr



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



* Add test confirming non-evaluative archive



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



---------

Signed-off-by: Sathish <sbabu@progress.com>
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
Co-authored-by: Sathish Babu <80091550+sathish-progress@users.noreply.github.com>
2023-09-30 02:35:52 -04:00
Chef Expeditor
d69fa38a65 Update CHANGELOG.md with details from pull request #6732
Obvious fix; these changes are the result of automation not creative thinking.
2023-09-30 06:33:02 +00:00
Clinton Wolfe
d5346553b0
Correct quotes on ffi-yajl (#6732)
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2023-09-30 02:31:51 -04:00
Chef Expeditor
a24a857b8d Bump version to 4.56.48 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-09-30 06:07:01 +00:00
Chef Expeditor
39b8d35407 Update CHANGELOG.md with details from pull request #6729
Obvious fix; these changes are the result of automation not creative thinking.
2023-09-30 06:05:21 +00:00
Clinton Wolfe
d6057c123e
EULA: Update latest EULA - 31AUG2023 in rtf (#6655) (#6725)
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
Co-authored-by: Sonu Saha <98935583+ahasunos@users.noreply.github.com>
2023-09-30 02:04:12 -04:00
Clinton Wolfe
a27231d370
Pin ffi-yajl to 2.4.0 in omnibus Gemfile (#6728) (#6729)
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2023-09-30 02:01:25 -04:00
Chef Expeditor
e4e93c2728 Update CHANGELOG.md with details from pull request #6724
Obvious fix; these changes are the result of automation not creative thinking.
2023-09-30 02:16:21 +00:00
Clinton Wolfe
afedc7dcf4
CHEF-6429: Update omnibus config to use updated signing method for msi packages (#6658) (#6724)
* OMNIBUS CONFIG: Update omnibus config to sign msi packages with updated method



* TEMP: A temporary change to verify windows build



* Revert Gemfile temp changes for omnibus



---------

Signed-off-by: Sonu Saha <sonu.saha@progress.com>
Co-authored-by: Sonu Saha <98935583+ahasunos@users.noreply.github.com>
2023-09-29 22:15:07 -04:00
Chef Expeditor
662e6d4fb0 Bump version to 4.56.47 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-09-30 02:13:52 +00:00
Sonu Saha
b57c532a57
CHEF-5898: Update latest EULA as used in MacOS installers (#6652) (#6710)
* EULA: Update latest EULA - 31AUG2023 in html-erb



* Remove html tags in eula



* CHORE: Fix known indentation



* CHORE: Fix indentation - 2



* CHORE: Break lines to maintain formatting



---------

Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2023-09-29 22:12:34 -04:00
Chef Expeditor
f8f9171b13 Update CHANGELOG.md with details from pull request #6675
Obvious fix; these changes are the result of automation not creative thinking.
2023-09-30 01:21:58 +00:00
dependabot[bot]
201b9f8b9c
Bump omnibus from 26c34d2 to 82dae89 in /omnibus (#6675)
Bumps [omnibus](https://github.com/chef/omnibus) from `26c34d2` to `82dae89`.
- [Release notes](https://github.com/chef/omnibus/releases)
- [Commits](26c34d2e1a...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-29 21:20:47 -04:00
Chef Expeditor
81a209fa9f Bump version to 4.56.46 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-09-29 23:15:41 +00:00
Nikita Mathur
fa1d9354e7
Use Ruby 3.1 for InSpec 4; Drop EOL 2.7 (#6713)
* Verify pipeline tests upgraded to ruby 3.1

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* Removed unused test fixtures of older ruby version

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* Updates test fixtures from ruby 2.7 to ruby 3.0 & 3.1

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* Habitat package upgrade to ruby 31

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* Upgraded omnibus ruby version to ruby 3.1

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* Update ruby gem version in expeditor verify

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* Update ruby gem version to ruby 3.3.3 in expeditor verify

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* add ruby test 3.1 in verify pipeline (#5892)

* add ruby test 3.1 in verify pipeline

Signed-off-by: jayashri garud <jgarud@msystechnologies.com>

* updating rubygem to 3.3.3

Signed-off-by: jayashri garud <jgarud@msystechnologies.com>

* Test fixture plugin files for ABI 3.1.0

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

* Use kwargs to match new calling style for ERB in ruby 2.7 and 3.0

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

* Allow Date and Time data types, needed for waivers, since safe load is now the default for YAML

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

* Use Time.parse, not Time.new since the rules tightened for what you can pass the constructor for waiver dates

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

* Add ruby platform debug message to test parallel output

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

* Conditionalize permitted_classes in inputs yaml_load for <= 3.1.x only

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

* In ruby 3.1.0 net/pop3 is no more a default gem and that will require us to add it in Gemfile so trying with the byebug gem which we are bundling already

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

* CFINSPEC-166 Updated url fetcher to handle Net::OpenTimeout Exception on Windows

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

Co-authored-by: Clinton Wolfe <clintoncwolfe@gmail.com>
Co-authored-by: Vasu1105 <vasundhara.jagdale@chef.io>

* Inputs test fix as fixed in vasundhara/ruby-3-support

Signed-off-by: Nik08 <nikita.mathur@progress.com>

---------

Signed-off-by: Nik08 <nikita.mathur@progress.com>
Co-authored-by: jayashrig158 <61735743+jayashrig158@users.noreply.github.com>
Co-authored-by: Clinton Wolfe <clintoncwolfe@gmail.com>
Co-authored-by: Vasu1105 <vasundhara.jagdale@chef.io>
2023-09-29 19:14:27 -04:00
dependabot[bot]
d055a65ce8
Update faraday_middleware requirement from >= 0.12.2, < 1.1 to >= 0.12.2, < 1.3 (#6702)
Updates the requirements on [faraday_middleware](https://github.com/lostisland/faraday_middleware) to permit the latest version.
- [Release notes](https://github.com/lostisland/faraday_middleware/releases)
- [Commits](https://github.com/lostisland/faraday_middleware/compare/v1.0.0...v1.2.0)

---
updated-dependencies:
- dependency-name: faraday_middleware
  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:13:24 -04:00
Chef Expeditor
ca8463d007 Bump version to 4.56.45 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-09-29 21:04:26 +00:00
Sonu Saha
125245ef27
EULA: Update latest EULA - 31AUG2023 (#6711)
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2023-09-29 17:03:08 -04:00
Chef Expeditor
7088fe2733 Update CHANGELOG.md with details from pull request #6718
Obvious fix; these changes are the result of automation not creative thinking.
2023-09-29 13:19:07 +00:00
Vasundhara Jagdale
a4dde23f4b
Revert "Update html-proofer requirement from ~> 3.19.4 to ~> 5.0.8 (#6703)" (#6718)
This reverts commit 365870fda0.
2023-09-29 18:47:11 +05:30
dependabot[bot]
365870fda0
Update html-proofer requirement from ~> 3.19.4 to ~> 5.0.8 (#6703)
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:51:28 +05:30
Chef Expeditor
fb35b79274 Bump version to 4.56.44 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-09-29 08:55:31 +00:00
Chef Expeditor
f6543637ec Bump version to 4.56.43 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-09-29 08:53:21 +00:00
Nikita Mathur
47c7c6ab11
Add ruby-msys2-devkit as dependency and check (#6391) (#6714)
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
Co-authored-by: Vasundhara Jagdale <vasundhara.jagdale@chef.io>
2023-09-29 14:22:54 +05:30
Nikita Mathur
a214c3fdc4
YAML reporter test fix (#6563) (#6715)
* Fix for yaml reporter data, not matching empty values with spaces



* Additional comment to document affecting fields



---------

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2023-09-29 14:21:59 +05:30
Chef Expeditor
35d25d0eaa Update CHANGELOG.md with details from pull request #6691
Obvious fix; these changes are the result of automation not creative thinking.
2023-09-26 20:53:54 +00:00
dependabot[bot]
3a5ebe80bf
Update mocha requirement from ~> 1.1 to ~> 2.1 (#6691)
Updates the requirements on [mocha](https://github.com/freerange/mocha) to permit the latest version.
- [Changelog](https://github.com/freerange/mocha/blob/main/RELEASE.md)
- [Commits](https://github.com/freerange/mocha/compare/v1.1.0...v2.1.0)

---
updated-dependencies:
- dependency-name: mocha
  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-26 13:52:42 -07:00
Chef Expeditor
525a82de1c Update CHANGELOG.md with details from pull request #6690
Obvious fix; these changes are the result of automation not creative thinking.
2023-09-26 20:52:23 +00:00
dependabot[bot]
d55d9d950c
Update json_schemer requirement from >= 0.2.1, < 0.2.19 to >= 0.2.1, < 2.0.1 (#6690)
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-26 13:51:16 -07:00