Configure .envrc
bosh envs, example .envrc
:
export BOSH_ENVIRONMENT=http://192.168.50.4:25555
export BOSH_CA_CERT=~/workspace/bosh-lite/ca/certs/ca.crt
export BOSH_CLIENT=admin
export BOSH_CLIENT_SECRET=admin
export BOSH_DEPLOYMENT=mongodb-service
Configure your bosh lite with the provided cloud-config
(you will likely need to make changes to manifest/vars-lite.yml
if you'd like to use your own cloud-config
):
bosh upload-cloud-config manifest/cloud-config-lite.yml
Create and upload a bosh release:
bosh create-release
bosh upload-release
Deploy!
bosh deploy --vars-file manifest/vars-lite.yml manifest/deployment.yml
Tests are run in docker. Build the test image with:
./scripts/docker-build.sh
Then run tests with:
./scripts/docker-test.sh