This repository contains the release for RabbitMQ for Cloud Foundry. It is deployable by BOSH in the usual way.
Clone the repository and run ./scripts/update-release
.
Run the scripts/deploy-release
script. Examples as follows:
# Deploying locally to BOSH lite
export BOSH_MANIFEST=../london-ci-tools/manifests/rabbitmq/develop/development/bosh-lite.yml
./scripts/deploy-release lite
# Deploying to a different BOSH director
export BOSH_MANIFEST=/path/to/manifest.yml
./scripts/deploy-release my-bosh-alias
Note that the argument is a BOSH alias, which you must have configured prior to running the script. E.G.
bosh target https://192.168.50.4:25555 lite
To run the unit tests locally, just run: bundle exec rake spec:unit
.
bundle exec rake spec:integration
You can run tests on BOSH lite. You just need BOSH_MANIFEST environment variable and do deployment.
If you want to run tests on custom BOSH you need to set following environment variables:
export CF_DOMAIN='bosh-lite.com'
export CF_USERNAME='admin'
export CF_PASSWORD='admin'
export CF_API='api.bosh-lite.com'
export BOSH_TARGET='bosh-lite.com'
export BOSH_USERNAME='admin'
export BOSH_PASSWORD='admin'