A BOSH release for the bosh-softlayer-cpi
written in Go.
bosh-softlayer-cpi
release can be deployed with any BOSH Director
just like any other BOSH release.
- Install Vagrant dependencies
vagrant plugin install vagrant-bosh
gem install bosh_cli --no-ri --no-rdoc
- 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.
- Target deployed BOSH Director
bosh target localhost:25555
bosh status
-
Follow instructions above to install the release to your BOSH director
-
Clone BOSH repository into
$HOME/workspace/bosh
to get BATS source code -
Download SoftLayer stemcell #3 to
$HOME/Downloads/bosh-stemcell-softlayer-ubuntu-trusty-go_agent.tgz
from BOSH Artifacts -
Run BOSH Acceptance Tests via
spec/run-bats.sh
- Use standalone BATS and CPI lifecycle tests
- Use BATS errand for running tests
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