tree: 31cede93b161773a4af7a59f95dcdf2aa4412c28 [path history] [tgz]
  1. config/
  2. jobs/
  3. packages/
  4. src/
  5. addBlobs.sh
  6. apache-usergrid-tile-1.6.yml
  7. content_migrations.yml
  8. createRelease.sh
  9. createTile.sh
  10. LICENSE
  11. README.md
  12. run.sh
deployment/pcf/README.md

Bosh Release + PCF Tile for Apache Usergrid

This is a bosh release for the apache usergrid. The scripts provided can help create the bosh release and tile for Apache Usergrid. A version of the tile is available here: https://s3.amazonaws.com/usergrid-v2-public/usergrid_v2.pivotal

Components Dependency

Building Bosh release

  • Ensure following files are available at the root of the apache-usergrid-release directory
cf-linux-amd64.tgz          # downloaded from CF cli github repo
ROOT.war                    # built from usergrid repo
cassandra-2.1.tgz           # Saved Cassandra 2.1 docker image 
elasticsearch-1.7.tgz       # Saved ElasticSearch 1.7 docker image 
docker-boshrelease-23.tgz   # Docker Bosh release v23
  • Run addBlobs.sh Important to ensure the above blobs filenames match the entries inside the addBlobs.sh (& each of the packages/*/packaging file)
  • Run ./createRelease.sh Edit the version as required inside the script

Building Tile

  • Edit the apache-usergrid-tile-1.6.yml to refer to the correct version of release tarball (for docker bosh release and usergrid)
  • Run ./createTile.sh Edit the file names or versions as needed. The docker-boshrelease-23.tgz file should be present in the directory to create a valid working tile The script should create the usergrid.pivotal tile file.

Notes

  • Ensure the usergrid war file is named ROOT.war (or rename all references of ROOT.war with different file name) before running addBlobs.sh
  • If newer versions are being used, please check and replace the associated versions inside packages//spec & packages//packaging file to deal with correct files.
  • Update the tile metadata file if newer release versions are used
  • Update the content_migrations.yml if new tile version is being published