cookbook 'appveyorapi', '~> 0.1.1'
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.1 Follow0
Trigger the deployment in the Appveyor CI
cookbook 'appveyorapi', '~> 0.1.1', :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(Case sensitive). 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(Case sensitive). -
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.
Collaborator Number Metric
0.1.1 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.1.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.1.1 failed this metric
FC108: Resource should not define a property named 'name': appveyorapi/resources/deploy.rb:21
FC117: Do not use kind_of in custom resource properties: appveyorapi/resources/deploy.rb:21
FC117: Do not use kind_of in custom resource properties: appveyorapi/resources/deploy.rb:22
FC117: Do not use kind_of in custom resource properties: appveyorapi/resources/deploy.rb:23
FC117: Do not use kind_of in custom resource properties: appveyorapi/resources/deploy.rb:24
FC117: Do not use kind_of in custom resource properties: appveyorapi/resources/deploy.rb:25
FC118: Resource property setting name_attribute vs. name_property: appveyorapi/resources/deploy.rb:21
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.1 passed this metric
Testing File Metric
0.1.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.1.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.1.1 failed this metric
0.1.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.1.1 failed this metric
FC108: Resource should not define a property named 'name': appveyorapi/resources/deploy.rb:21
FC117: Do not use kind_of in custom resource properties: appveyorapi/resources/deploy.rb:21
FC117: Do not use kind_of in custom resource properties: appveyorapi/resources/deploy.rb:22
FC117: Do not use kind_of in custom resource properties: appveyorapi/resources/deploy.rb:23
FC117: Do not use kind_of in custom resource properties: appveyorapi/resources/deploy.rb:24
FC117: Do not use kind_of in custom resource properties: appveyorapi/resources/deploy.rb:25
FC118: Resource property setting name_attribute vs. name_property: appveyorapi/resources/deploy.rb:21
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.1 passed this metric
Testing File Metric
0.1.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.1.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.1.1 failed this metric
FC117: Do not use kind_of in custom resource properties: appveyorapi/resources/deploy.rb:21
FC117: Do not use kind_of in custom resource properties: appveyorapi/resources/deploy.rb:22
FC117: Do not use kind_of in custom resource properties: appveyorapi/resources/deploy.rb:23
FC117: Do not use kind_of in custom resource properties: appveyorapi/resources/deploy.rb:24
FC117: Do not use kind_of in custom resource properties: appveyorapi/resources/deploy.rb:25
FC118: Resource property setting name_attribute vs. name_property: appveyorapi/resources/deploy.rb:21
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.1.1 passed this metric
Testing File Metric
0.1.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.1.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.1.1 failed this metric
0.1.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number