cookbook 'appveyorapi', '= 0.1.0'
The appveyorapi cookbook has been deprecated
Author provided reason for deprecation:
The appveyorapi cookbook has been deprecated and is no longer being maintained by its authors. Use of the appveyorapi cookbook is no longer recommended.
You may find that the appveyor-ci cookbook is a suitable alternative.
appveyorapi (2) Versions 0.1.0 Follow0
Trigger the deployment in the Appveyor CI
cookbook 'appveyorapi', '= 0.1.0', :supermarket
knife supermarket install appveyorapi
knife supermarket download appveyorapi
appveyorapi Cookbook
Initiates the deployment in Appveyor CI tool
Requirements
Gems
- json
- HTTParty
Chef
- Chef 12.5+
Recipes
default
Installs the AppVeyor agent
Set the following attributes:
node['environment_access_key']
node['deployment_group']
For more examples see the test/fixtures directory
Resources and Providers
Agent Install
appveyor_agent '3.12.0' do environment_access_key '1234abcd890432kj' deployment_group 'test' end
Attributes
-
version
- Specify the Appveyor deployment agent version to be installed like3.12.0
or say it aslatest
-
environment_access_key
- Environment Access Key is a secure string used to pair Deployment agent. Specify the Appveyor environment access key. -
deployment_group
- Deployment group allows matching only specific group of Deployment Agents. Specify the Appveyor deployment group name.
Start Deployment
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' end
Attributes
-
name
- Environment name in Appveyor. It could be any Environment like Agent, FTP, Azure, etc., -
account
- Account which has privilege to start the deployment in Appveyor. -
api_token
- API token for the service account in Appveyor. -
project
- Name of the build project in the Appveyor to be deployed in the specified environment. -
buildversion
- (optional) Build version of the project to be deployed in the specified environment. If it is not specified, cookbook will deploy the last successfully deployed build version. If you specify it aslatest
then it builds latest build for that project.
Dependent cookbooks
windows >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Foodcritic Metric
0.1.0 passed this metric
0.1.0 passed this metric