madamkiwi / bits-service-release

BOSH release for Cloud Foundry Bits-Service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bits Service Release

A BOSH release for deploying the bits-service.

Deployment

Deploy a CF on BOSH Lite with bits-service enabled

Simply follow instructions in cf-deployment and the Ops-file README for experimental to add bits-service.yml and other necessary Ops-files (documented there as well) to enable the Bits-Service.

Run Tests

To run bits-service tests, you need to deploy it with upload size limits set to lower values.

Generate deployment manifest with --size-limits and deploy.

./scripts/generate-cf-with-bits-service-enabled-bosh-lite-manifest local --size-limits

Be advised that the deployment should have succeeded before at least once, otherwise CloudFoundry post-install scripts will fail to run with this stricter limits.

Configure test execution:

export BITS_SERVICE_PRIVATE_ENDPOINT_IP=10.244.0.74
export BITS_SERVICE_MANIFEST=./deployments/cf-with-bits-service-enabled.yml
export CC_API=https://api.bosh-lite.com
export CC_PASSWORD=xxx
export CC_USER=admin

./scripts/add-route

The following two lines need to be present in your /etc/hosts to run the tests:

10.244.0.74 bits-service.service.cf.internal bits-service.bosh-lite.com
10.244.0.130 blobstore.service.cf.internal

Then run:

bundle install
bundle exec rake

CI Pipeline

The pipeline is publicly visible at https://ci.flintstone.cf.cloud.ibm.com. The sources are located at bits-service-ci.

About

BOSH release for Cloud Foundry Bits-Service

License:Apache License 2.0


Languages

Language:Ruby 69.9%Language:HTML 15.9%Language:Shell 11.0%Language:Go 2.6%Language:Dockerfile 0.6%