chef-cli icon indicating copy to clipboard operation
chef-cli copied to clipboard

Implementation of the chef license commands

Open ashiqueps opened this issue 2 years ago • 6 comments

Description

This PR will add the chef license command which can be used to generate the free/trial license for the chef infra. Also if the user has a commercial license, this command can be used to add that as well.

Commands:

  • chef license
  • chef license add
  • chef license list

Related Issue

Types of changes

  • [ ] Bug fix (non-breaking change which fixes an issue)
  • [x] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to change)
  • [ ] Chore (non-breaking change that does not add functionality or fix an issue)

Checklist:

  • [ ] I have read the CONTRIBUTING document.
  • [ ] I have run the pre-merge tests locally and they pass.
  • [ ] I have updated the documentation accordingly.
  • [ ] I have added tests to cover my changes.
  • [ ] All new and existing tests passed.
  • [ ] All commits have been signed-off for the Developer Certificate of Origin.

ashiqueps avatar May 24 '23 05:05 ashiqueps

Any guidance on how this will work in CI? Given we're testing 170+ cookbooks I'd really appreciate heads-up on workflow changes like this in the future.

damacus avatar May 25 '23 08:05 damacus

@damacus, once generated, a license can be reused across multiple systems. so this can be a one-time activity. you are right about the need for more clarity on adoption of this feature. i'll work with product team to share an overview on community slack so folks have sufficient heads-up.

vkarve-chef avatar May 25 '23 10:05 vkarve-chef

Thanks for the update @vkarve-chef.

If this is going to require a rework on the sous-chefs pipelines again. The only way we're going to be able to do that over the 170 repositories is with Chefs help.

damacus avatar May 25 '23 10:05 damacus

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

sonarqubecloud[bot] avatar Jul 11 '23 07:07 sonarqubecloud[bot]