-
Notifications
You must be signed in to change notification settings - Fork 3
upload cookbook to chef server
Russell Seymour edited this page Dec 11, 2017
·
3 revisions
| Setting | Group | Required | Default Value | Description |
|---|---|---|---|---|
| Display name | yes | Upload cookbook to Chef Server (Chef) | Set the display name for this task | |
| Chef Server endpoint | yes | Select a valid Chef Server endpoint to use for this task | ||
| Cookbook path | yes | $(Build.SourcesDirectory)/cookbooks |
Enter the path of the cookbook to upload | |
| 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 runs in an Agent phase within the Build process. It uses the equivalent of the berks install and berks upload commands from the Chef Development Kit to perform this action.
If the ChefDK is not found on the system, it will try and install it first.
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