Chef Supermarket 部署
此页面记录了使用 dpl v1 进行的部署,目前这是默认版本。下一个主要版本 dpl v2 将很快发布,我们建议您开始使用它。有关详细信息,请参阅 我们的博文。您可以在 此处找到 dpl v2 文档。
Travis CI 可以在构建成功后自动将您的 cookbook 部署到 Chef Supermarket。
要部署到 Chef Supermarket,请将您的 Chef Supermarket user_id
、您的 加密的 Chef Supermarket 客户端密钥以及 cookbook_category
添加到您的 .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"