Commit graph

11284 commits

Author SHA1 Message Date
Chef Expeditor
2478a9adf5 Bump version to 5.22.12 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-08-09 13:52:13 +00:00
Vasundhara Jagdale
e861b37a59
CHEF-5200 Waived controls are not getting waived (skipped) in case of failure at resource level. (#6588)
* CHEF-5200: This fix applies waiver if exception occurs while eval the control inside control block. This ensures that waiver are got applied in case of resouce level failures too.

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

* When waiver file is empty error should be raised the written is invalid for the empty waiver file.
Added different test to check only_if waiver is applied when the waived control in the waived file has expired.

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

* Fix lint

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

* Fix test failing on windows due to different exit code on the Windows.

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

---------

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2023-08-09 09:50:49 -04:00
Chef Expeditor
bf17aa78f4 Bump version to 6.4.40 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-07-25 17:22:07 +00:00
Clinton Wolfe
6e11e54c53
Revert "Bump omnibus-software from 4b08f0b to 3268356 in /omnibus (#6576)" (#6585)
This reverts commit ef9f9a673d.
2023-07-25 13:21:03 -04:00
Clinton Wolfe
bf22fa5a6c Revert "Try pinning and avoiding ffi-yajl 2.6.0"
This reverts commit 3d0b720e2d.
2023-07-25 12:04:41 -04:00
Clinton Wolfe
3d0b720e2d Try pinning and avoiding ffi-yajl 2.6.0
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2023-07-25 12:03:39 -04:00
Chef Expeditor
4d278c711f Bump version to 6.4.39 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-07-25 14:14:04 +00:00
Clinton Wolfe
758f071c8d
Disable git caching per build svcs (#6584)
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2023-07-25 10:13:00 -04:00
Chef Expeditor
466deafa8f Bump version to 6.4.38 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-07-25 12:51:26 +00:00
Chef Expeditor
99018e9956 Bump version to 6.4.37 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-07-25 12:49:56 +00:00
Nikita Mathur
752b39b9c9
CHEF-4559 Extended support to inspec parallel for reporters using config (#6578)
* Validate reporter options from config when --reporter option is missing in options file

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

* Message changes in case of error in invocations validation

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

* Config reporters fix for null or empty values

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

* Testing cases to validate reporters using config

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

* Added missing fixture files for inspec parallel reporter config test

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

* Removed check for stdout false in config for reporters for parallel validation

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

---------

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2023-07-25 08:49:31 -04:00
dependabot[bot]
ef9f9a673d
Bump omnibus-software from 4b08f0b to 3268356 in /omnibus (#6576)
Bumps [omnibus-software](https://github.com/chef/omnibus-software) from `4b08f0b` to `3268356`.
- [Commits](4b08f0bc06...3268356b2e)

---
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-07-25 08:48:27 -04:00
Chef Expeditor
93e0b2d369 Bump version to 6.4.36 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-07-25 12:46:49 +00:00
Clinton Wolfe
eff13369f1
CHEF-4115 Added ability to merge reporter configurations from both CLI and config (#6568) (#6579)
* Added ability to merge cli and config reporter options



* Test cases to validate working of reporter configuration using cli and config



* Documentation change to add information on reporter configurations usage with both



* Added Doc review changes and text fixture for config json



* Verify fix



* Verify pipeline test fixes for reporter options to be read successfully



* Test changes in both cli and config reporter usage scenarios to fix verify pipeline



* Review comments to improvise



* Renamed testing fixture file for reporter cli config file



---------

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
Co-authored-by: Nikita Mathur <Nik08@users.noreply.github.com>
2023-07-25 08:45:42 -04:00
Chef Expeditor
3146906c3e Bump version to 6.4.35 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-07-25 12:30:42 +00:00
Sonu Saha
5c44cb41aa
EULA: Update installer license text (#6580)
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2023-07-25 08:29:09 -04:00
Chef Expeditor
5c5d5581ad Bump version to 5.22.11 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-07-25 12:25:58 +00:00
Sonu Saha
68df198c20
EULA: Update installer license text (#6582)
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2023-07-25 08:24:50 -04:00
Chef Expeditor
7bb1cd0a52 Bump version to 5.22.10 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-07-25 10:21:58 +00:00
Nikita Mathur
c761a0d27a
CHEF-4115 Added ability to merge reporter configurations from both CLI and config (#6568)
* Added ability to merge cli and config reporter options

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

* Test cases to validate working of reporter configuration using cli and config

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

* Documentation change to add information on reporter configurations usage with both

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

* Added Doc review changes and text fixture for config json

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

* Verify fix

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

* Verify pipeline test fixes for reporter options to be read successfully

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

* Test changes in both cli and config reporter usage scenarios to fix verify pipeline

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

* Review comments to improvise

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

* Renamed testing fixture file for reporter cli config file

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

---------

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2023-07-25 06:20:50 -04:00
Chef Expeditor
d3390357e8 Update CHANGELOG.md with details from pull request #6569
Obvious fix; these changes are the result of automation not creative thinking.
2023-07-17 01:07:35 +00:00
Clinton Wolfe
9bb79c9dd0
Add inspec-6 branch to Dependabot monitoring. This change must be made on main for Dependabot to pick it up. (#6569)
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2023-07-16 21:06:20 -04:00
Chef Expeditor
1fd8a313f5 Bump version to 5.22.9 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-07-11 14:24:25 +00:00
Nikita Mathur
0ca221af5b
YAML reporter test fix (#6563)
* Fix for yaml reporter data, not matching empty values with spaces

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

* Additional comment to document affecting fields

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

---------

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2023-07-11 10:23:16 -04:00
Chef Expeditor
c314310457 Bump version to 6.4.34 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-07-07 21:36:25 +00:00
Vasundhara Jagdale
8e8dc7631e
CHEF-3832: Fix for InSpec Parallel fails to fetch remote profiles due to cache contention. (#6546)
* CHEF-3832: Fix for InSpec Parallel fails to fetch remote profiles due to cache contention.
This fix creates the write exclusive lock on the cache directory of profile till write operation is finished for git fetcher

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

* Refactored to have locking and unlocking logic inside cache. Cache directory is not required for archived directories and this is currently only required by git fetcher

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

* REFACTOR: adds method in fetcher to return true if requires cache locking mechanism to avoid cache contention

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

* Adds exception handling

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

* Handles interruption in cache creation process to avoid empty cache directory creation or currupted data

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

* Refactored to handle interruption through SystemExit

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

* Fixed the failing test. While creating lock cache_key need to be extracted from the respective fetcher.

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

---------

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2023-07-07 17:35:19 -04:00
Chef Expeditor
6472f27831 Update CHANGELOG.md with details from pull request #6559
Obvious fix; these changes are the result of automation not creative thinking.
2023-07-07 21:14:27 +00:00
Clinton Wolfe
d64488f333
Merge pull request #6559 from inspec/inspec-6-from-prime-2
Add chef-licensing, syncing from inspec-prime repo inspec-6 branch
2023-07-07 17:13:26 -04:00
Clinton Wolfe
cef9b792c2 Fix changelog tag
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2023-07-07 15:52:31 -04:00
Clinton Wolfe
e2ed009467
Merge branch 'inspec-6' into inspec-6-from-prime-2 2023-07-07 15:46:10 -04:00
Clinton Wolfe
1d8a2fcaa2 Sync changes from inspec-6 CI adjustments
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2023-07-07 15:39:51 -04:00
Chef Expeditor
69d0320e1a Update CHANGELOG.md with details from pull request #6558
Obvious fix; these changes are the result of automation not creative thinking.
2023-07-07 19:02:58 +00:00
Clinton Wolfe
425c635202
Add secrets: true to private verify pipeline, delete ruby 2.,7 config (#6558)
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2023-07-07 15:01:56 -04:00
Chef Expeditor
8b5d95e182 Update CHANGELOG.md with details from pull request #6556
Obvious fix; these changes are the result of automation not creative thinking.
2023-07-07 15:06:04 +00:00
sean-simmons-progress
51671ce775
forcing private in the configuration file (#6556)
* 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>
2023-07-07 11:05:03 -04:00
Chef Expeditor
a6576d7834 Bump version to 6.2.46 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-07-07 13:52:14 +00:00
sean-simmons-progress
104d3a76f6
test github action (#6555)
* 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>
2023-07-07 09:50:59 -04:00
Chef Expeditor
e149bdfb4c Bump version to 6.2.45 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-07-07 13:17:10 +00:00
Clinton Wolfe
5d615fea45
Prep CI system for inspec-prime merge (#6553)
* 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>
2023-07-07 09:16:02 -04:00
Sonu Saha
50aabd06d3
CHEF-3895: Prevent Stacktrace in STDOUT by handling Invalid License exception during license add (#77)
* FIX: Handle invalid license exception as handled in base_cli:57

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

* Use 174 error code when exiting with license subsystem error from license add

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

---------

Signed-off-by: Sonu Saha <sonu.saha@progress.com>
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
Co-authored-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2023-07-06 23:23:43 -04:00
Chef Expeditor
39e91eb0b3 Bump version to 5.22.8 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-07-07 03:20:28 +00:00
dependabot[bot]
46e866616f
Bump omnibus-software from f06bbea to 4b08f0b in /omnibus (#6548)
Bumps [omnibus-software](https://github.com/chef/omnibus-software) from `f06bbea` to `4b08f0b`.
- [Commits](f06bbea744...4b08f0bc06)

---
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-07-06 23:19:15 -04:00
Chef Expeditor
99ab8c34fe Bump version to 5.22.7 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-07-07 03:17:48 +00:00
dependabot[bot]
d7ecfa331b
Bump berkshelf from 8.0.2 to 8.0.7 in /omnibus (#6530)
Bumps [berkshelf](https://github.com/chef/berkshelf) from 8.0.2 to 8.0.7.
- [Changelog](https://github.com/chef/berkshelf/blob/main/CHANGELOG.md)
- [Commits](https://github.com/chef/berkshelf/compare/v8.0.2...v8.0.7)

---
updated-dependencies:
- dependency-name: berkshelf
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-06 23:16:34 -04:00
Chef Expeditor
3b36293859 Bump version to 5.22.6 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-07-07 03:09:44 +00:00
dependabot[bot]
a603dada66
Bump omnibus from ae855f3 to 9c0643a in /omnibus (#6543)
Bumps [omnibus](https://github.com/chef/omnibus) from `ae855f3` to `9c0643a`.
- [Release notes](https://github.com/chef/omnibus/releases)
- [Commits](ae855f3060...9c0643a3a4)

---
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-07-06 23:08:35 -04:00
Chef Expeditor
c4ba48b36f Bump version to 6.4.33 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-07-07 01:25:07 +00:00
Vasundhara Jagdale
dfb0172992
Adds test for licensing_config (#57)
* Adds test for licensing_config

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

Fix lint

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

Read the value of license server url from env for test

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

* Spell InSpec corrrectly in test

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

* Linting

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

---------

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
Co-authored-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2023-07-06 21:24:05 -04:00
Chef Expeditor
efdfc6f390 Bump version to 6.4.32 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-07-06 23:57:27 +00:00
Sonu Saha
20a4586ae8
LOGGER: Configure chef-licensing to use InSpec Logger (#67)
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2023-07-06 19:56:33 -04:00