-
Notifications
You must be signed in to change notification settings - Fork 3
upload cookbook to chef server
Russell Seymour edited this page Jul 4, 2018
·
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 | |
Berkshelf Install Arguments | Advanced | no | Allow extra arguments to be specified when installing cookbooks | |
Berkshelf Upload Arguments | Advanced | no | Allow extra arguments to be specified when uploading the cookbook | |
Delete Private Key | Advanced | no | True | Remove the private key from the agent after completion |
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.
Additional arguments can be passed to the install
and upload
by using the appropriate field in the 'Advanced' group on the task parameters.
For example an exception could be added to the install
task so that certain groups are not installed, e.g. --except integration
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