Project

guard-bosh

0.0
No commit activity in last 3 years
No release in over 3 years
Fast feedback when developing BOSH releases
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.6
~> 10.4
~> 0.29
~> 0.9

Runtime

 Project Readme

guard-bosh

Guard BOSH is a Guard plugin to make it easier to develop BOSH releases.

Currently it will monitor your templates and a deployment manifest for any changes and report missing BOSH properties or template errors.

Example setup

$ git clone https://github.com/pivotal-cf/cf-rabbitmq-release.git
$ cd cf-rabbitmq-release

# Create a Gemfile, or add guard and guard-bosh to your existing Gemfile
$ if [ ! -f 'Gemfile' ]; then echo "source 'https://rubygems.org'" > Gemfile; fi
$ echo "gem 'guard'" >> Gemfile
$ echo "gem 'guard-bosh'" >> Gemfile
$ bundle

# Generate a Guardfile you can then customise
$ bundle exec guard init

Guard BOSH requires a manifest to work. Update the references to the manifest in the generated Guardfile:

$ gsed -i 's|path/to/manifest.yml|manifests/cf-rabbitmq-lite.yml|' Guardfile

# For Rabbit we need to tell it to monitor the manifests directory
# rather than the templates directory.
$ gsed -i 's|%w(jobs templates)|%w(jobs manifests)|' Guardfile

Now we can start Guard:

$ bundle exec guard

Backlog

You can review the backlog for Guard BOSH on the public Pivotal Tracker project.