Initiates the deployment in Appveyor CI tool
- json
- HTTParty
- Chef 11+
Installs the required gems. include_recipe the default, to ensure the required gems are installed on the chef-client
The appveyorapi_deploy LWRP can be used to start the deployment for the specified environment in Appveyor CI using its API.
appveyorapi_deploy 'project-production' do
api_token '1234abcd890432kj'
account 'serviceaccount'
project 'project'
buildversion '1.0.1'
endname- Environment name in Appveyor. It could be any Environment like Agent, FTP, Azure, etc.,account- Account which has privilege to start the deployment in Appveyorapi_token- API token for the service account in Appveyorproject- Name of the build project in the Appveyor to be deployed in the specified environmentbuildversion- (optional) Build version of the project to be deployed in the specified environment. If it is not specified, cookbook will deploy the latest build for that project