Commit graph

11208 commits

Author SHA1 Message Date
Sonu Saha
09196e971f
CONFIG: Set chef executable name to display in help messages of chef-licensing (#34)
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2023-05-10 11:13:09 +05:30
Chef Expeditor
917ffde843 Bump version to 6.4.5 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-05-10 03:49:07 +00:00
Sonu Saha
95c36239f8
ENHANCE: Add license command to list of allowed commands (#35)
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2023-05-10 09:18:08 +05:30
Chef Expeditor
21b7206306 Bump version to 6.4.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-05-09 14:37:43 +00:00
Sonu Saha
4386cb1407
UPDATE: Update chef-licesing api call: license_keys to fetch_and_persist (#30)
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2023-05-09 10:36:12 -04:00
Chef Expeditor
86a08ba7e7 Bump version to 6.4.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-04-25 13:28:17 +00:00
Sonu Saha
77b7a8ff62
Remove kitchen group from Gemfile (#31)
* KITCHEN: Remove kitchen group from Gemfile,
revert this change when required

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

* LINT: Remove trailing whitespace

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

---------

Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2023-04-25 09:27:21 -04:00
Chef Expeditor
725f6ee023 Bump version to 6.4.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-04-12 14:15:40 +00:00
Sonu Saha
8e26441019
CHEF-52: Add licensing information to help output (#27)
* CHEF-LICENSING: Add licensing flags info in help output

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

* INFO: Add chef-licensing info to help message

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

---------

Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2023-04-12 10:14:34 -04:00
Chef Expeditor
7b933b83d4 Bump version to 6.4.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-03-31 07:52:40 +00:00
Sonu Saha
646cbb7bda
Add command to list license information (#10)
* Initial commit to set inspec cli command license

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

* INTEGRATE: Use chef_licensing endpoint to list licenses info

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

* CHORE: Update chef-licensing gem name, update description

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

* CHEF-56 License add command integrated (#11)

* Added license add command in inspec license command plugin

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

* Chef licensing gem changes pointing to url and branch

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

---------

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

* EXEC_NAME is always inspec as set in Dist,
check is not required

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

* DOCS: Update docs for the plugin

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

* DOCS: Update docs for the plugin

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: Nikita Mathur <nikita.mathur@chef.io>
Co-authored-by: Nikita Mathur <Nik08@users.noreply.github.com>
2023-03-31 13:21:44 +05:30
Chef Expeditor
d0210bfda4 Bump version to 5.21.43 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-03-28 15:20:03 +00:00
Vasundhara Jagdale
f2016ac4d6
Adds configuration required for sonarqube integration. (#6480)
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2023-03-28 20:48:59 +05:30
Chef Expeditor
6fb783045c Bump version to 6.4.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-03-27 14:27:38 +00:00
Vasundhara Jagdale
699d73993c
Licensing - Integrates Software Entitlement (#13)
* CFINSPEC-24:Integrate License Software Entitlment.

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

* CFINSPEC-506 license execution check

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

* Software entitlement call changes and handling of error

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

* Error handling from chef licensing error to standard error

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

* Updated Gemfile to pick the chef licensing changes from git url

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

* Trying with https url

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

* Revert "Trying with https url"

This reverts commit 33f1f4c0ecacf9ba2826e25e55b41219903ea736.

* Adds the license not entitled exit code

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

* Updates the require statement

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

* Fix typo

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

* Set the licensing configure for entitlement id failure

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

* Use ChefLicensing::Error instead of standard error

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

* REFACTOR Move out licensing cong=fig to its own file and make unconditional

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

* FIX TESTS - Add reference to licensing config for places where we call runner explicitly.

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

* Update inputs_test to use license configuration from utils

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

---------

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
Co-authored-by: Nikita Mathur <nikita.mathur@chef.io>
Co-authored-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2023-03-27 10:26:35 -04:00
Chef Expeditor
031ec21cce Bump version to 6.3.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-03-24 06:52:35 +00:00
Nikita Mathur
3307ee520c
Integration of chef licensing with inspec (#12)
* Add invocation for chef licensing to fetch and persist license

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

* Flow changes of licensing with EULA acceptance

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

* Changed empty to blank safe check

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

* Exit code changes in case of invalid licenses

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

* Update temporary gempath to use relatiive path

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

* CFINSPEC-506 license execution check

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

* Handling in inspec for invalid licenses

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

* Handling of client error

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

* Replaced subclasses of exceptions with super class error

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

* Chef licensing gem changes pointing to git url

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

* Configured chef licensing with inspec

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

* Local chef licensing gem configuration removed

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

* Removed logger configuration for chef licensing

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

* Require changes for new library chef-licensing

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

---------

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
Co-authored-by: Clinton Wolfe <clintoncwolfe@gmail.com>
Co-authored-by: Vasu1105 <vasundhara.jagdale@chef.io>
2023-03-24 02:51:27 -04:00
Chef Expeditor
8bb7d2ad1c Bump version to 6.2.49 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-03-23 18:48:03 +00:00
Clinton Wolfe
d8200f8539
CI - Use License Key and API Key Secrets from Vault (#26)
* Enable secrets mode on verify pipelines, which apparently works on ruby3.0 image anyway on coverage pipeline

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

* Fetch chef licensing server and API key from vault, linux implementation

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

* Fetch chef licensing server and API key from vault, windows implementation

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

* Add diagnostic to test whether API key has been set and exit if not

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

* Secrets missed on two jobs

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

* Add diagnostic to test whether API key has been set on windows

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

* Add license key to env var list and gate verify pipeline on it

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

---------

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
Co-authored-by: Sonu Saha <sonu.saha@progress.com>
2023-03-23 14:47:02 -04:00
Chef Expeditor
f54db5ccef Bump version to 5.21.42 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-03-23 14:55:08 +00:00
Nikita Mathur
2e4e61dab5
CHEF-1458 Multiple values changes in SimpleConfig library (#6489)
* Simple config changes to return array of values with multiple values opt

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

* New option added to split multiple values with a delimiter regex

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

---------

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2023-03-23 20:24:01 +05:30
Chef Expeditor
efc65b3baf Bump version to 6.2.48 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-03-16 17:24:19 +00:00
Vasundhara Jagdale
c9f935489e
Try adding artifactory as git source for chef-licensing (#25)
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2023-03-16 13:23:16 -04:00
Chef Expeditor
477db753e8 Bump version to 6.2.47 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-03-14 14:32:29 +00:00
sean-simmons-progress
eb15f804be
testing version bump and pipeline creation (#16)
Signed-off-by: Sean Simmons <ssimmons@progress.com>
2023-03-14 10:31:12 -04:00
Chef Expeditor
b265e77a7f Bump version to 6.2.46 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-03-13 16:18:22 +00:00
Clinton Wolfe
bd1f3ba40b
Adds omnibus release and adhoc pipelines with a merge trigger for omnibus release (#15)
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2023-03-13 12:17:16 -04:00
Chef Expeditor
16114904dc Bump version to 6.2.45 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-03-10 20:44:18 +00:00
sean-simmons-progress
74357ae861
testing version bump (#9)
Signed-off-by: Sean Simmons <ssimmons@progress.com>
2023-03-10 15:43:15 -05:00
Clinton Wolfe
16e1a6164e
TEST: Add an extra whitespace (#8)
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
Co-authored-by: Sonu Saha <sonu.saha@progress.com>
2023-03-10 13:04:37 -05:00
Clinton Wolfe
4cff2cafee
Sync Expeditor Config from Main to inspec-6 (#7)
* Move old expeditor config out of the way in prep for syncing

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

* Introduce basic expeditor config (#2)

* CONFIG: Introduce basic expeditor config

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

* CONFIG: Introduce release branches, changelog updates and slack notification

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

---------

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: Sonu Saha <98935583+ahasunos@users.noreply.github.com>
2023-03-10 11:52:30 -05:00
Chef Expeditor
78afa94583 Bump version to 5.21.41 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-28 11:28:59 +00:00
Vasundhara Jagdale
f32ef139c8
Revert "adding new private verify, as this will kick off the expeditor bump version (#6397)" (#6479)
This reverts commit 227b0f2d35.
2023-02-28 16:57:18 +05:30
Chef Expeditor
b4cebf0908 Bump version to 6.2.44 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-27 15:57:31 +00:00
Vasundhara Jagdale
9cd7b5cf61
Bump rack from 2.2.4 to 2.2.6.2 in /omnibus (#6388) (#6477)
Bumps [rack](https://github.com/rack/rack) from 2.2.4 to 2.2.6.2.
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rack/rack/compare/2.2.4...v2.2.6.2)

---
updated-dependencies:
- dependency-name: rack
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 21:25:32 +05:30
Chef Expeditor
c74932fd38 Bump version to 6.2.43 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-27 15:47:04 +00:00
Vasundhara Jagdale
244688a9aa
Bump test-kitchen from 3.3.2 to 3.5.0 in /omnibus (#6360) (#6476)
Bumps [test-kitchen](https://github.com/test-kitchen/test-kitchen) from 3.3.2 to 3.5.0.
- [Release notes](https://github.com/test-kitchen/test-kitchen/releases)
- [Changelog](https://github.com/test-kitchen/test-kitchen/blob/main/CHANGELOG.md)
- [Commits](https://github.com/test-kitchen/test-kitchen/commits/v3.5.0)

---
updated-dependencies:
- dependency-name: test-kitchen
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 21:16:03 +05:30
Chef Expeditor
bbf0e7512e Bump version to 5.21.40 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-27 15:44:44 +00:00
dependabot[bot]
15e568501a
Bump rack from 2.2.4 to 2.2.6.2 in /omnibus (#6388)
Bumps [rack](https://github.com/rack/rack) from 2.2.4 to 2.2.6.2.
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rack/rack/compare/2.2.4...v2.2.6.2)

---
updated-dependencies:
- dependency-name: rack
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 21:13:39 +05:30
Vasundhara Jagdale
e2ccbd6232
Bump kitchen-vagrant from 1.12.1 to 1.14.1 in /omnibus (#6427) (#6475)
Bumps [kitchen-vagrant](https://github.com/opscode/kitchen-vagrant) from 1.12.1 to 1.14.1.
- [Release notes](https://github.com/opscode/kitchen-vagrant/releases)
- [Changelog](https://github.com/test-kitchen/kitchen-vagrant/blob/main/CHANGELOG.md)
- [Commits](https://github.com/opscode/kitchen-vagrant/compare/v1.12.1...v1.14.1)

---
updated-dependencies:
- dependency-name: kitchen-vagrant
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 20:46:48 +05:30
Chef Expeditor
6cb3223d08 Bump version to 6.2.42 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-27 14:58:12 +00:00
Vasundhara Jagdale
0aa7749766
Bump omnibus from c66e97c to cf97613 in /omnibus (#6423) (#6474)
Bumps [omnibus](https://github.com/chef/omnibus) from `c66e97c` to `cf97613`.
- [Release notes](https://github.com/chef/omnibus/releases)
- [Commits](c66e97c211...cf97613115)

---
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-02-27 20:27:05 +05:30
Chef Expeditor
774f68eb59 Bump version to 5.21.39 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-27 13:47:34 +00:00
dependabot[bot]
8c5eaffcdd
Bump test-kitchen from 3.3.2 to 3.5.0 in /omnibus (#6360)
Bumps [test-kitchen](https://github.com/test-kitchen/test-kitchen) from 3.3.2 to 3.5.0.
- [Release notes](https://github.com/test-kitchen/test-kitchen/releases)
- [Changelog](https://github.com/test-kitchen/test-kitchen/blob/main/CHANGELOG.md)
- [Commits](https://github.com/test-kitchen/test-kitchen/commits/v3.5.0)

---
updated-dependencies:
- dependency-name: test-kitchen
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 19:16:27 +05:30
Chef Expeditor
9f94bb5386 Bump version to 6.2.41 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-27 13:46:00 +00:00
Vasundhara Jagdale
edeea89774
Bump omnibus-software from 6a13693 to 225e357 in /omnibus (#6442) (#6473)
Bumps [omnibus-software](https://github.com/chef/omnibus-software) from `6a13693` to `225e357`.
- [Release notes](https://github.com/chef/omnibus-software/releases)
- [Commits](6a13693685...225e3576c4)

---
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-02-27 19:14:55 +05:30
Chef Expeditor
d337843709 Bump version to 5.21.38 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-27 12:05:20 +00:00
dependabot[bot]
535e400744
Bump kitchen-vagrant from 1.12.1 to 1.14.1 in /omnibus (#6427)
Bumps [kitchen-vagrant](https://github.com/opscode/kitchen-vagrant) from 1.12.1 to 1.14.1.
- [Release notes](https://github.com/opscode/kitchen-vagrant/releases)
- [Changelog](https://github.com/test-kitchen/kitchen-vagrant/blob/main/CHANGELOG.md)
- [Commits](https://github.com/opscode/kitchen-vagrant/compare/v1.12.1...v1.14.1)

---
updated-dependencies:
- dependency-name: kitchen-vagrant
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 17:34:21 +05:30
Chef Expeditor
fdee4f6c8b Bump version to 5.21.37 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-27 10:48:00 +00:00
dependabot[bot]
763089d809
Bump omnibus from c66e97c to cf97613 in /omnibus (#6423)
Bumps [omnibus](https://github.com/chef/omnibus) from `c66e97c` to `cf97613`.
- [Release notes](https://github.com/chef/omnibus/releases)
- [Commits](c66e97c211...cf97613115)

---
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-02-27 16:17:00 +05:30