-
Notifications
You must be signed in to change notification settings - Fork 3
publish cookbook to supermarket
Russell Seymour edited this page Dec 11, 2017
·
2 revisions
This task requires that a Chef Supermarket Endpoint has been created for the project.
| Setting | Group | Required | Default Value | Description |
|---|---|---|---|---|
| Display name | yes | Publish cookbook to Supermarket | Set the display name for this task | |
| Chef Supermarket | yes | Select a valid Chef Supermarket endpoint to use for this task | ||
| Cookbook Name | yes | Name of the cookbook to publish | ||
| Cookbook path | yes | $(Build.SourcesDirectory)/cookbooks |
Path to the cookbook. WOuld normally be the drop path | |
| Delete Private Key | Advanced | no | True | Remove the private key from the agent after completion |

** Warning: this task is currently supported on Linux agents only **
This task is designed to be run in the release phase of the build pipeline. It uses the knife cookbook site share command from ChefDK to perform the upload.
If the SSL Verification is set to false on the endpoint then this task will download the SSL certificates to the agent machine using knife ssl fetch.
Endpoints
Tasks
- Add Variables to Chef Environment
- Install ChefDK
- Execute Chef Client
- Install InSpec
- Execute Inspec
- Install Gem
- Execute Knife
- Linting
- Test Kitchen
- Release Cookbook Version to Environment
- Update Cookbook Version Number
- Upload Cookbook to Chef Server
- Publish Cookbook to Supermarket
Guides
Releases