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

Add this line to your application's Gemfile:

gem 'seiso-import_master'

And then execute:

$ bundle

Or install it yourself as:

$ gem install seiso-import_master

Usage

  1. Create a directory ~/.seiso-importers
  2. Place appropriately modified copy of seiso.yml.sample in there.
  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