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.
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.
$ gem install seiso-import_master
- Create a directory
~/.seiso-importers
- Place appropriately modified copy of
seiso.yml.sample
in there. Note that you will need to get Seiso credentials from your Seiso administrator. - 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
).
- Fork it ( https://github.com/ExpediaDotCom/seiso-import_master/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new pull request.
Rake tasks available via
$ rake tasks
In particular, run the unit tests using
$ rake test
Build and install the gem using Rake:
$ rake install