RubyGems Navigation menu

builderator 1.0.0.pre.rc.1

# Builderator Orchestration and configuration of the code development life-cycle. ## Commands ### `local [PROFILE = default]` Provision a local VM using Vagrant and, by default, VirtualBox. Uses Berkshelf to fetch cookbooks, and Chef to provision the VM. ### `ec2 [PROFILE = default]` Provision an EC2 VM using Vagrant. Same workflow as `local` using the `vagrant-aws` plugin. ### `release [PROFILE = default]` Perform release tasks and execute Packer builds with released artifacts. ## Configuration Configuration can be loaded from DSL files as well as JSON and command line arguments. By default, Builderator searches in your home directory (`$HOME/.builderator/Buildfile`) and the working directory (`./Builderator`) for DSL files. Configuration sources are layered and flattened into a single DSL in the following order: * Global defaults defined in the Builderator sources * `Config.defaults` set by plugins, tasks, etc. in code * `$HOME/.builderator/Buildfile` * `./Buildfile` * `Config.overrides` set by plugins, tasks, etc. in code * CLI arguments loaded from Thor [Additional documentation](docs/configuration.md) describes the configuration DSL interface. ## Integrations Builderator integrates with other tools, including [Berkshelf](http://berkshelf.com), [Vagrant](https://www.vagrantup.com/), and [Packer](https://www.packer.io/), to orchestrate workflows by generating `Berksfile`s, `Vagrantfile`s, and JSON strings for Packer. This means that you can replace all of these files in your project with a single `Buildfile`. ### Packer The Packer integration generates Packer JSON and passes it to STDIN of `packer build -`. *NOTE* Currently, we assume that you're building Ubuntu images, as one of the provisioners is hard-coded to chown the Chef data directories to `ubuntu:ubuntu` ## Versioning Builderator can automatically detect versions from SCM tags, increment the latest version of an SCM branch by a variety of steps, and create new SCM tags for new versions. [Additional documentation](docs/versioning.md) describes CLI commands, configuration, and detailed behavior. ## Generators Builderator includes a task to generate common project trees from configuration definitions and templates. Each type of project is configurable via the project collection in the `generator` namespace: ```ruby generator.project :default do |default| default.ruby.version '2.1.5' default.builderator.version '~> 1.0' default.vagrant do |vagrant| vagrant.install false vagrant.version 'v1.8.0' vagrant.plugin 'vagrant-aws' vagrant.plugin 'vagrant-omnibus' end default.resource :berksfile do |berksfile| berksfile.path 'Berksfile', 'Berksfile.lock' berksfile.action :rm end default.resource :buildfile do |buildfile| buildfile.path 'Buildfile' buildfile.action :create buildfile.template 'template/Buildfile.erb' end # ... end ``` Valid actions for resources include `:ignore`, `:create` (update only if missing), `:sync` (create or update with prompt), and `:rm`. `:create` and `:sync` actions require a valid template source. By default, the `generator` subcommand includes a `default` project which removes Vagrant, Berkshelf, and Packer configurations.

Gemfile:
=

install:
=

Versions:

  1. 2.1.1 March 06, 2019 (40.5 KB)
  2. 2.1.0 August 15, 2018 (40.5 KB)
  3. 2.0.4 April 05, 2018 (40.5 KB)
  4. 2.0.3 April 02, 2018 (40.5 KB)
  5. 2.0.2 January 02, 2018 (40.5 KB)
  6. 1.0.0.pre.rc.1 January 08, 2016 (50.5 KB)
Show all versions (49 total)

Runtime Dependencies (7):

aws-sdk ~> 2.0
berkshelf ~> 3.2
bundler ~> 1.7.0
chef ~> 12.0
faraday_middleware ~> 0.10.0
ignorefile >= 0
thor ~> 0.19.0

Development Dependencies (4):

rake ~> 10.0
rspec ~> 3.0
rubocop ~> 0.35
thor-scmversion = 1.7.0

Owners:

Authors:

  • John Manero

SHA 256 checksum:

=

Total downloads 124,138

For this version 2,116

Version Released:

License:

MIT

Required Ruby Version: >= 0

Required Rubygems Version: > 1.3.1

Links: