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

bazel (8) Versions 0.4.0

Installs/Configures bazel

Policyfile
Berkshelf
Knife
cookbook 'bazel', '= 0.4.0', :supermarket
cookbook 'bazel', '= 0.4.0'
knife supermarket install bazel
knife supermarket download bazel
README
Dependencies
Quality 50%

bazel Cookbook

Installs/Configures Bazel

Build Status

Usage

bazel::default Recipe

Just include bazel in your node's run_list:

{
  "name":"my_node",
  "run_list": [
    "recipe[bazel]"
  ]
}

Custom Resources

bazel_installation('bazel') do
  version '0.3.0'
  action :create
end

Requirements

chef

Chef 12.5+

cookbooks

  • build-essential
  • java
  • poise-python
  • zip
  • apt
  • homebrew

Attributes

bazel::default

Key Type Description Default
['bazel']['version'] String Bazel version to install 0.3.0
['bazel']['prefix'] String installation prefix /usr/local
['bazel']['installation_method'] String how to install Bazel package

Valid values for installation_method are:

script
: Installs Bazel with an installer script
package
: Installs Bazel with a package management system in the package
homebrew
: More specifically than package, installs Bazel with homebrew
apt
: More specifically than package, installs Bazel with apt

Recipes

bazel::bazel

Installs Bazel and its minimal dependencies

bazel::default

Installs other recommended tools in addition to bazel::bazel.

Resources

bazel_installation

Automatically selects a right installation method and installs Bazel.

Example
bazel_installation('bazel') do
  version '0.3.0'
  action :create
end
Properties
  • version - Bazel version to install

bazel_installation_package

Automatcially selects a right package management system and installs Bazel with it.

Example
bazel_installation_package('bazel') do
  version '0.3.0'
  action :create
end
Properties
  • version - Bazel version to install

bazel_installation_homebrew

Installs bazel with homebrew

bazel_installation_apt

Installs bazel with apt

bazel_installation_script

Installs bazel with an installer scirpt.

Example
bazel_installation_script('bazel') do
  version '0.3.0'
  action :create
end
Properties
  • version - Verion of Bazel to install
  • prefix - installation prefix
  • installer_uri - URI to the installer
  • installer_checksum - SHA256 sum of the installer

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write chefspec for the feature (if applicable)
  4. Write your change
  5. Write serverspec for the feature (if applicable)
  6. Run the tests, ensuring they all pass
  7. Submit a Pull Request using Github

License and Authors

Copyright 2016 Gengo Inc.

BSD 3-Clause license

Collaborator Number Metric
            

0.4.0 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Foodcritic Metric
            

0.4.0 passed this metric