Follow these steps to make a contribution to any of CF open source repositories:
-
Ensure that you have completed our CLA Agreement for individuals or corporations.
-
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"
-
If your company has signed a Corporate CLA, but sure to make the membership in your company's github organization public
- ruby 2.x
- bundler
$ cd src/bosh_openstack_cpi
$ bundle install
$ bundle exec rspec spec/unit
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)