cookbook 'appveyor-ci', '= 0.1.1'
appveyor-ci (12) Versions 0.1.1 Follow0
Installs AppVeyor Agent & Triggers Deployment
cookbook 'appveyor-ci', '= 0.1.1', :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.
Foodcritic Metric
0.1.1 failed this metric
FC009: Resource attribute not recognised: /tmp/cook/794240d5d57154821cc03fca/appveyor-ci/resources/agent_install.rb:30
FC016: LWRP does not declare a default action: /tmp/cook/794240d5d57154821cc03fca/appveyor-ci/resources/agent_install.rb:1
FC016: LWRP does not declare a default action: /tmp/cook/794240d5d57154821cc03fca/appveyor-ci/resources/deploy.rb:1
0.1.1 failed this metric
FC016: LWRP does not declare a default action: /tmp/cook/794240d5d57154821cc03fca/appveyor-ci/resources/agent_install.rb:1
FC016: LWRP does not declare a default action: /tmp/cook/794240d5d57154821cc03fca/appveyor-ci/resources/deploy.rb:1