Skip to content

Latest commit

 

History

History
52 lines (33 loc) · 1.5 KB

CONTRIBUTING.md

File metadata and controls

52 lines (33 loc) · 1.5 KB

Contributing to bosh-openstack-cpi-release

Contributor License Agreement

Follow these steps to make a contribution to any of CF open source repositories:

  1. Ensure that you have completed our CLA Agreement for individuals or corporations.

  2. Set your name and email (these should match the information on your submitted CLA)

     git config --global user.name "Firstname Lastname"
     git config --global user.email "your_email@example.com"
    
  3. If your company has signed a Corporate CLA, but sure to make the membership in your company's github organization public

Development

Prerequisites:

  • ruby 2.x
  • bundler

Running unit tests

$ cd src/bosh_openstack_cpi
$ bundle install
$ bundle exec rspec spec/unit

Running manual tests

Note: This is not required for opening a pull request. Having green unit tests is good enough from our perspective.

If you still want to run manual tests (e.g. in order to validate your use case) this is how you do it:

  • Create a dev release and deploy a BOSH director using it.

  • If you changed any ruby dependency, run the vendoring script first:

    $ ./src/bosh_openstack_cpi/vendor_gems
  • Create the BOSH release:

    $ bosh create release --force --with-tarball
  • Deploy a BOSH Director using your CPI release (see bosh.io)