webmat / omnibus-scout

omnibus builder for scout (scoutapp)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

scout Omnibus project

This project creates full-stack platform-specific packages for Scout, a hosted server monitoring service.

Installation

We'll assume you have Ruby 1.9+ and Bundler installed. First ensure all required gems are installed and ready to use:

$ bundle install --binstubs

Usage

Build

You create a platform-specific package using the build project command:

$ omnibus build project scout

The platform/architecture type of the package created will match the platform where the build project command is invoked. So running this command on say a MacBook Pro will generate a Mac OS X specific package. After the build completes packages will be available in pkg/.

Clean

You can clean up all temporary files generated during the build process with the clean command:

$ omnibus clean scout

Adding the --purge purge option removes ALL files generated during the build including the project install directory (/opt/scout) and the package cache directory (/var/cache/omnibus/pkg):

$ omnibus clean scout --purge

Help

Full help for the Omnibus command line interface can be accessed with the help command:

$ omnibus help

Vagrant-based Virtualized Build Lab

Every Omnibus project ships will a project-specific Berksfile and Vagrantfile that will allow you to build your projects on the following platforms:

  • CentOS 5 64-bit
  • CentOS 6 64-bit
  • Ubuntu 10.04 64-bit
  • Ubuntu 11.04 64-bit
  • Ubuntu 12.04 64-bit

Please note this build-lab is only meant to get you up and running quickly; there's nothing inherent in Omnibus that restricts you to just building CentOS or Ubuntu packages. See the Vagrantfile to add new platforms to your build lab.

The only requirements for standing up this virtualized build lab are:

The vagrant-berkshelf and vagrant-omnibus Vagrant plugins are also required and can be installed easily with the following commands:

$ vagrant plugin install vagrant-berkshelf
$ vagrant plugin install vagrant-omnibus

Once the pre-requisites are installed you can build your package across all platforms with the following command:

$ vagrant up

If you would like to build a package for a single platform the command looks like this:

$ vagrant up PLATFORM

The complete list of valid platform names can be viewed with the vagrant status command.

Support

Contact support@scoutapp.com with any issues or questions.

About

omnibus builder for scout (scoutapp)


Languages

Language:Shell 50.6%Language:Ruby 49.4%