Commit graph

11349 commits

Author SHA1 Message Date
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
Chef Expeditor
b15da2312d Bump version to 6.4.31 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-07-06 23:30:46 +00:00
Chef Expeditor
c1d5d326a2 Bump version to 6.4.30 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-07-06 23:29:22 +00:00
Clinton Wolfe
e998658b7b
Drop testing on EOL ruby 2.7, and run linter on Ruby 3.1 (#76)
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2023-07-06 19:29:16 -04:00
Sonu Saha
8323ecd5c5
CHORE: Casing correction of product name from Inspec to InSpec (#78)
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2023-07-06 19:28:23 -04:00
Chef Expeditor
427fab3f6c Bump version to 6.4.29 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-07-04 20:06:27 +00:00
Clinton Wolfe
a3028b1fc8
For #6493 : Add postgres_session support for custom port with a socket connection (#6494) (#40)
* Add support for custom port with a socket connection



* Add tests for the postgres_session with custom port



---------

Signed-off-by: Pg <pg.developper.fr@gmail.com>
Co-authored-by: Pg <pg.developper.fr@gmail.com>
2023-07-04 16:05:25 -04:00
Chef Expeditor
40c5b91677 Bump version to 6.4.28 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-07-04 20:00:49 +00:00
dependabot[bot]
28150d632c
Bump omnibus-software from 88169e3 to 4b08f0b in /omnibus (#73)
Bumps [omnibus-software](https://github.com/chef/omnibus-software) from `88169e3` to `4b08f0b`.
- [Commits](88169e3905...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-04 15:59:46 -04:00
Chef Expeditor
07776239a6 Bump version to 6.4.27 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-07-04 19:59:03 +00:00
Clinton Wolfe
1ecf6bdae0
CHEF-3759 Crossport public 6540 Fix for inspec parallel on windows crashing due to error log rename (#74)
* Error logging changes to fix renaming of files in windows

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

* Parallel rename, delete and logging fix for windows

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

* Log path changes reverted after testing with static logs directory

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

* Fix lint

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

* Logic to rename error log files on interrupt

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

* An attempt to reduce the delay on control c interrupt by killing child process instantly

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

* Only rename existing file of the child process to avoid conficts in renaming

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

* Fix in renaming with control-c interrupt by invoking from command library itself

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

* Added logic to wait for processes to die after process kill, to fix error on interrupt

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

* Removed idle inititation on status super reporter for parallel - needs future improvements

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

* Fileutils Mkdir usage refactoring

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

---------

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
Co-authored-by: Nikita Mathur <nikita.mathur@chef.io>
Co-authored-by: Vasu1105 <vasundhara.jagdale@chef.io>
2023-07-04 15:58:04 -04:00
Chef Expeditor
781642cbe7 Update CHANGELOG.md with details from pull request #64
Obvious fix; these changes are the result of automation not creative thinking.
2023-06-28 02:11:31 +00:00
Chef Expeditor
d5914878cc Update CHANGELOG.md with details from pull request #6541
Obvious fix; these changes are the result of automation not creative thinking.
2023-06-28 02:11:08 +00:00
Sonu Saha
cbea295028
Foreports #6526 and #6541: Update Docker base image to be ubuntu 22.04 (#64)
* Update Docker base image to be ubuntu 22.04

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

* SUPPORT: Update dockerfile for m1 support

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

---------

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
Co-authored-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2023-06-27 22:10:31 -04:00
Sonu Saha
5764e5f50a
SUPPORT: Update dockerfile for m1 support (#6541)
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2023-06-27 22:10:01 -04:00
Chef Expeditor
a07c15e6a8 Bump version to 6.4.26 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-06-28 02:09:37 +00:00
Chef Expeditor
227ea5c3c6 Bump version to 6.4.25 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-06-28 02:08:04 +00:00
Clinton Wolfe
b9bc201ced
CHEF-3806 Fix for InSpec Parallel hangs for cetain CIS profile on Windows. (#71)
Sending EOF Marker at the end of of the whole suit run here instead of depending on the controls count

Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>
Co-authored-by: Vasu1105 <vasundhara.jagdale@progress.com>
2023-06-27 22:07:39 -04:00
dependabot[bot]
28031ae7ff
Bump omnibus from 15122f2 to 9c0643a in /omnibus (#70)
Bumps [omnibus](https://github.com/chef/omnibus) from `15122f2` to `9c0643a`.
- [Release notes](https://github.com/chef/omnibus/releases)
- [Commits](15122f2565...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-06-27 22:07:02 -04:00
Chef Expeditor
a68c0f5760 Bump version to 6.4.24 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-06-28 02:03:14 +00:00
Chef Expeditor
095e7ef247 Bump version to 6.4.23 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-06-28 02:01:40 +00:00
dependabot[bot]
cb8d6994f1
Bump berkshelf from 8.0.2 to 8.0.7 in /omnibus (#63)
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-06-27 22:00:37 -04:00
Sonu Saha
e6d5dc2b9a
Update rspec to 3.12 (#6523) (#65)
Update RSpec dependency. There are some fixes and no breaking changes in 3.12

Signed-off-by: Phil Pirozhkov <hello@fili.pp.ru>
Co-authored-by: Phil Pirozhkov <pirj@users.noreply.github.com>
2023-06-27 22:00:04 -04:00
Chef Expeditor
8146491a26 Update CHANGELOG.md with details from pull request #6526
Obvious fix; these changes are the result of automation not creative thinking.
2023-06-26 12:16:34 +00:00
Clinton Wolfe
cc0ddc3e3b
Update Docker base image to be ubuntu 22.04 (#6526)
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2023-06-26 08:15:40 -04:00
Chef Expeditor
38c4346da6 Bump version to 6.4.22 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-06-23 15:54:37 +00:00
dependabot[bot]
58db4fccaa
Bump omnibus from cf97613 to 15122f2 in /omnibus (#62)
Bumps [omnibus](https://github.com/chef/omnibus) from `cf97613` to `15122f2`.
- [Release notes](https://github.com/chef/omnibus/releases)
- [Commits](cf97613115...15122f2565)

---
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-06-23 11:53:37 -04:00
Chef Expeditor
a2e0baafe6 Bump version to 6.4.21 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-06-23 15:51:31 +00:00
dependabot[bot]
c02150e246
Bump omnibus-software from 225e357 to 88169e3 in /omnibus (#61)
Bumps [omnibus-software](https://github.com/chef/omnibus-software) from `225e357` to `88169e3`.
- [Commits](225e3576c4...88169e3905)

---
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-06-23 11:50:26 -04:00
Chef Expeditor
a4ea6578c7 Bump version to 6.4.20 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-06-22 15:02:58 +00:00
Nikita Mathur
f031999218
CHEF-3704 Modify help for local licensing service mode and other distros (#59)
* Update license commands description to be updated for local mode

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

* To hide licensing information in help for CINC & other distros

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

---------

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2023-06-22 11:01:46 -04:00
Chef Expeditor
6d122efcbf Bump version to 6.4.19 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-06-21 13:09:00 +00:00
Sathish Babu
feaf67d9bf
restrict license commands only to inspec distro (#58)
Signed-off-by: Sathish <sbabu@progress.com>
2023-06-21 18:37:55 +05:30
Chef Expeditor
5183057e5d Bump version to 6.4.18 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-06-21 08:13:23 +00:00
Nikita Mathur
68af725b6d
CHEF-3184 Error handling for inspec license add command - disabled in local mode (#52)
* Error handling for inspec license add command

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

* License generation disabled exit code introduced for ui exit

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

* Removed the phrase something went wrong since error msgs will be changes and meaningful

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

* Renamed license generation error status name

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

* Error handling using specific error class

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

* License exit code - license not set added

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

---------

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2023-06-21 13:42:19 +05:30
Chef Expeditor
933d1c5f30 Bump version to 6.4.17 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-06-08 13:18:29 +00:00