Chef Supermarket Deployment
This page documents deployments using dpl v1 which is currently the legacy version. The dpl v2 is released, and we recommend useig it. Please see our blog post for details. dpl v2 documentation can be found here.
Travis CI can automatically deploy your cookbook to Chef Supermarket after a successful build.
To deploy to Chef Supermarket, add your Chef Supermarket user_id
, your
encrypted Chef Supermarket client key and the
cookbook_category
to
your .travis.yml
:
deploy:
provider: chef-supermarket
user_id: "<your chef username>"
# the encrypted client key file is decrypted in the before_install stage of the build when you add it using the instructions above
cookbook_category: "Others"