Giter Club home page Giter Club logo

cookbook-bazel's Introduction

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

cookbook-bazel's People

Contributors

yugui avatar

Watchers

Cyril Ledru avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.