Skip to content

publish cookbook to supermarket

Russell Seymour edited this page Dec 11, 2017 · 2 revisions

Publish cookbook to Chef Supermarket

This task requires that a Chef Supermarket Endpoint has been created for the project.

Settings

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

Publish Cookbook to Supermarket Task Options

Information

** 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.

Clone this wiki locally