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 2.3.0 as well as Bundler.
$ gem install seiso-import_master
- Create a directory
- Place appropriately modified copy of
seiso3.yml.samplein there. Note that you will need to get Seiso credentials from your Seiso administrator.
seiso-import-master file [, file2, ...]to perform the import. Note that you can use
-f yamlfor YAML files (the default is
- 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
For local snapshot installations, you may want to clear out existing versions of the gem first.
To push the gem:
$ gem push pkg/[whichever_gem]