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