cookbook 'buildkite', '~> 1.0.1'
buildkite (3) Versions 1.0.1 Follow0
Installs and configures the buildkite agent
cookbook 'buildkite', '~> 1.0.1', :supermarket
knife supermarket install buildkite
knife supermarket download buildkite
buildkite-cookbook
Installs and configures the buildkite agent and provides resources for creating SSH keys and hooks
Requirements
- A Buildkite account
- A supported operating system
- Ubuntu
- Windows
Recipes
buildkite::default
Installs and runs the buildkite agent as a service on your platform.
- The recipe will attempt to load your Buildkite API key from an encrypted data bag using the path specified in
node['buildkite']['token']
(credentials buildkite token
by default) - The configuration file is built from the
node['buildkite']['conf']
object- The
meta-data
key may also be an object that will be converted into akey=value
string
- The
The recipe will notify the buildkite-agent
service to restart whenever your configuration file changes.
Resources
Custom resources are currently available only for Ubuntu.
buildkite_key
Creates an SSH key for use by the Buildkite agent.
buildkite_key 'id_rsa' do content my_private_key end
buildkite_hook
Creates a Buildkite global hook script.
buildkite_hook 'environment' do code <<~EOH export FOO=bar EOH end
License
MIT © Ben Drucker
Dependent cookbooks
apt ~> 5.0.0 |
git ~> 5.0.1 |
windows ~> 2.1.1 |
winsw ~> 0.3 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
1.0.1 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.0.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
1.0.1 failed this metric
FC066: Ensure chef_version is set in metadata: buildkite/metadata.rb:1
FC092: Custom resources should not define actions: buildkite/resources/hook.rb:3
FC092: Custom resources should not define actions: buildkite/resources/ssh.rb:3
FC108: Resource should not define a property named 'name': buildkite/resources/hook.rb:6
FC108: Resource should not define a property named 'name': buildkite/resources/ssh.rb:6
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.0.1 passed this metric
Testing File Metric
1.0.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
1.0.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
1.0.1 failed this metric
1.0.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
1.0.1 failed this metric
FC066: Ensure chef_version is set in metadata: buildkite/metadata.rb:1
FC092: Custom resources should not define actions: buildkite/resources/hook.rb:3
FC092: Custom resources should not define actions: buildkite/resources/ssh.rb:3
FC108: Resource should not define a property named 'name': buildkite/resources/hook.rb:6
FC108: Resource should not define a property named 'name': buildkite/resources/ssh.rb:6
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.0.1 passed this metric
Testing File Metric
1.0.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
1.0.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
1.0.1 failed this metric
FC092: Custom resources should not define actions: buildkite/resources/hook.rb:3
FC092: Custom resources should not define actions: buildkite/resources/ssh.rb:3
FC108: Resource should not define a property named 'name': buildkite/resources/hook.rb:6
FC108: Resource should not define a property named 'name': buildkite/resources/ssh.rb:6
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
1.0.1 passed this metric
Testing File Metric
1.0.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
1.0.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
1.0.1 failed this metric
1.0.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