Bosh plugin pipeline
This gem allows to create a file system tree structure for BOSH plugin and to update BOSH version in this plugin automatically. The project is build using bosh-plugin-generator, that is no deprecated.
What is BOSH?
BOSH orchestrates initial deployments and ongoing updates that are: predictable, repeatable, reliable, self-healing, infrastructure-agnostic. You can take a look on BOSH project on GitHub and read more details in docs.
How to install
gem install bosh-plugin-pipeline
How to use
Generating a BOSH CLI plugin
bosh generate plugin <plugin-name>
Possible attributes:
--author
- a name of the plugin author, if is not specified it will be taken fromgit
global config;--email
- email of the plugin author, if is not specified it will be taken fromgit
global config;--description
- short description for your plugin;--license
- license type to generate license file;--no-travis
- do not expect to use travis with this plugin;
To get familiar with how to build your custom BOSH CLI plugin you'll find useful this blog post.
To publish your plugin as a gem on rubygems.org see this notes.
Updating BOSH version in your plugin
This command helps you to have support for uptodate BOSH version. You also may consider to use gemnasium to keep track of other dependencies.
bosh update-bosh-version [path]
It takes as a parameter path
to plugin, if path
is not specified it uses current folder.
Possible attributes:
--without-tests
- Don't run tests before commit--without-commit
- Don't do commit after update--without-push
- Don't push updated gem to github and rubygems
Contributing
- Fork it
- 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 new Pull Request