Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

buildkite (3) Versions 1.0.1

Installs and configures the buildkite agent

Policyfile
Berkshelf
Knife
cookbook 'buildkite', '~> 1.0.1', :supermarket
cookbook 'buildkite', '~> 1.0.1'
knife supermarket install buildkite
knife supermarket download buildkite
README
Dependencies
Quality 17%

buildkite-cookbook Build Status

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 a key=value string

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