cookbook 'appveyor-ci', '= 0.1.3'
appveyor-ci (12) Versions 0.1.3 Follow0
Installs AppVeyor Agent & Triggers Deployment
cookbook 'appveyor-ci', '= 0.1.3', :supermarket
knife supermarket install appveyor-ci
knife supermarket download appveyor-ci
AppVeyor Cookbook
This cookbook
- Installs the AppVeyor deployment agent
- Triggers a deployment from the Appveyor API
It does not install IIS or any other related services.
Requirements
Chef
- Chef 12.5+
Platform
- Windows
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
Agent Install
appveyor_agent '3.12.0' do environment_access_key '1234abcd890432kj' deployment_group 'test' end
Deploy
appveyor_deploy
start the deployment for the specified environment in AppVeyor
ruby
appveyor_deploy '1.0.269' do
api_token node['api_token']
environment_name 'development'
project_slug 'project-X'
account_name 'my-account'
end
Dependent cookbooks
windows >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Appveyor-api Changelog
0.1.3
- Uses HTTPS for download the agent
- Fixes kitchen testing in AppVeyor
Collaborator Number Metric
0.1.3 failed this metric
Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Foodcritic Metric
0.1.3 failed this metric
FC009: Resource attribute not recognised: /tmp/24069f6a1f08beaee20966aa/appveyor-ci/resources/agent_install.rb:32
0.1.3 failed this metric
0.1.3 failed this metric
FC009: Resource attribute not recognised: /tmp/24069f6a1f08beaee20966aa/appveyor-ci/resources/agent_install.rb:32