Chef Supermarket

The example Yaml configurations in this file are using the legacy 0.8 syntax. If you are using Drone 1.0 or Drone Cloud please ensure you use the appropriate 1.0 syntax. Learn more here.

The Chef Supermarket plugin can publish cookbooks to Supermarket (internal or public). The below pipeline configuration demonstrates simple usage:

pipeline:
  chef_supermarket:
    image: jmccann/drone-chef-supermarket:1

The following example will upload the cookbook to supermarket server https://supermarket.chef.io using jsmith.

pipeline:
  chef_supermarket:
    image: jmccann/drone-chef-supermarket:1
    user: jsmith

This example will upload the cookbook to supermarket server https://mysupermarket.corp.com using jsmith skipping ssl verification.

pipeline:
  chef_supermarket:
    image: jmccann/drone-chef-supermarket:1
+   server: https://mysupermarket.corp.com
+   ssl_verify: false
+   user: jsmith

Parameter Reference

user
connects as this user
private_key
private key contents to auth to server with
server
(default: 'https://supermarket.chef.io') Supermarket server to connect to
ssl_verify
(default: true) Enable/Disable SSL verify