Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Make an RackHD CPI Release

Avery Yen edited this page Nov 10, 2015 · 3 revisions

Set up the BOSH CLI

Follow the instructions in the BOSH documentation for setting up the BOSH CLI.

Set up a blobstore

In your cloud service provider, set up a bucket to act as storage for the artifacts required by the RackHD CPI.

Download the RackHD CPI

In a terminal window, clone the Git repository for the RackHD CPI:

$ git clone https://github.com/EMC-CMD/bosh-rackhd-cpi-release.git

Add your credentials to the project configuration

In the config subdirectory, add a file called private.yml that contains access credentials for your blobstore. For example, if you're using S3, your file might have the following contents.

$ cat ./bosh-rackhd-cpi-release/config/private.yml
blobstore:
  s3:
    access_key_id: {your_access_key_id}
    bucket_name: {your_bucket_name}
    secret_access_key: {your_secret_access_key}

Make a release

From the project's root directory, use bosh create to create the release:

$ cd ./bosh-rackhd-cpi-release
$ bosh create release --force --with-tarball

A release tarball named {release-name}-{release-version}.tgz appears in the project's root directory.

If you are creating a release for the first time, you will be prompted for the {release-name} during execution. For example, if you enter rackhd-cpi as the release name, the corresponding release tarball is named rackhd-cpi-0+dev.1.tgz. The {release-version} string will increment automatically for subsequent builds.