Skip to content

A BOSH release for the bosh-softlayer-cpi written in Golang and using the new BOSH external CPI release fashion.

License

Notifications You must be signed in to change notification settings

CloudCredo/bosh-lattice-cpi-release

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bosh-softlayer-cpi-release

A BOSH release for the bosh-softlayer-cpi written in Go.

Example SoftLayer environment (*)

bosh-softlayer-cpi release can be deployed with any BOSH Director just like any other BOSH release.

  1. Install Vagrant dependencies
vagrant plugin install vagrant-bosh
gem install bosh_cli --no-ri --no-rdoc
  1. Create a new VM with BOSH Director and BOSH Warden CPI releases
vagrant up

Note: See deployment manifest to see how bosh and bosh-warden-cpi releases are collocated.

  1. Target deployed BOSH Director
bosh target localhost:25555
bosh status

Running tests

  1. Follow instructions above to install the release to your BOSH director

  2. Clone BOSH repository into $HOME/workspace/bosh to get BATS source code

  3. Download SoftLayer stemcell #3 to $HOME/Downloads/bosh-stemcell-softlayer-ubuntu-trusty-go_agent.tgz from BOSH Artifacts

  4. Run BOSH Acceptance Tests via spec/run-bats.sh

bosh-micro usage (*)

See bosh-micro usage doc

Todo

  • Use standalone BATS and CPI lifecycle tests
  • Use BATS errand for running tests

Credit

The base code was inpired by cppforlife's BOSH Warden CPI release's example external Go-language CPI.

NOTE: This is still work in progress. No guarantees are implied that this will be usable nor finish. Consider this code as prototype code.

(*) these items are in the works, we will remove the * once they are available

About

A BOSH release for the bosh-softlayer-cpi written in Golang and using the new BOSH external CPI release fashion.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 83.7%
  • HTML 16.3%