Skip to content

OpsRockin/omnibus-serverspec

Repository files navigation

serverspec Omnibus project

example workflow

RPM and DEB packages are privided by Github Releases.

Description

This project creates full-stack platform-specific packages for serverspec!

Now, omnibus-serverspec building step is dockernized.

Build for Developers

Kitchen-based Build Environment

Prepare VMs.

$ bundle exec librarian-chef install
$ bundle exec kitchen converge

Then login to the instance and build the project as described in the Usage section:

You should clone project files when loggd in to VM to avoid conflict bundled environment.

$ bundle exec kitchen login ubuntu(or centos)
[vagrant@ubuntu...] $ git clone serverspec vm
[vagrant@ubuntu...] $ cd vm
[vagrant@ubuntu...] $ source /home/omnibus/load-omnibus-toolchain.sh
[vagrant@ubuntu...] $ bundle install --binstubs
[vagrant@ubuntu...] $ ./bin/omnibus build serverspec

Destroy your VMs

$ bundle exec kitchen destroy