-
Notifications
You must be signed in to change notification settings - Fork 8
Make an RackHD CPI Release
Follow the instructions in the BOSH documentation for setting up the BOSH CLI.
In your cloud service provider, set up a bucket to act as storage for the artifacts required by 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
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}
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.