/seiso-import_master

Imports Seiso data master files into Seiso.

Primary LanguageRubyApache License 2.0Apache-2.0

Seiso::ImportMaster

Gem Version Build Status Inline docs

Imports Seiso data master files into Seiso.

See Manage Your Service Data with GitHub, Jenkins & Seiso for more details on the overall approach.

See Seiso Data Master Schemas for the data master schemas.

Installation preliminaries

First, I recommend using RVM to install/manage your rubies so you can run multiple rubies without conflict.

You will need Ruby 1.9.3 as well as Bundler.

Installation

$ gem install seiso-import_master

Usage

  1. Create a directory ~/.seiso-importers
  2. Place appropriately modified copy of seiso.yml.sample in there. Note that you will need to get Seiso credentials from your Seiso administrator.
  3. Run seiso-import-master file [, file2, ...] to perform the import. Note that you can use -f yaml for YAML files (the default is -f json).

Contributing

  1. Fork it ( https://github.com/ExpediaDotCom/seiso-import_master/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new pull request.

Development

Rake tasks available via

$ rake tasks

In particular, run the unit tests using

$ rake test

Build and install the gem using Rake:

$ rake install