semantic-release plugin for automating chef cookbook releases
Prepare Step
- Update metadata file with new tag
- Run berks install to update Berksfile.lock
Then use the git plugin to define metadata.rb and Berksfile.lock as git changeable files, defined after the chef plugin ofcourse.
Publish Step
- Publish cookbook to local supermarket/chef server
Configs
Required configs cookbookPublish: true/false updateLockfile: true/false
Optional configs metadataPath: default will be metadata.rb berksfilePath: default will be Berksfile.rb supermarketPublish: supermarketSite: default will be https://supermarket.chef.io category: default is "Other" berksPublish: chefEnv: [integration, production] will be default