Create bosh release tar from source code
- git clone the code
git clone firstname.lastname@example.org:XXX/XXX-release.git
- Go to the folder and prepare private.yml
We need private.yml to hold credentials.
Thus we can download files from external resources. e.g, google buckets.
cd XXX-release cat > config/private.yml <<EOF --- blobstore: provider: s3 options: access_key_id: GOOGXXX secret_access_key: c9EcPLbysjpQzhEkXXX EOF
- Run bosh command to create release
cd XXX-release bosh create-release --tarball=myrelease.tgz
- [Optional] Upload bosh release to your bosh director
bosh -n upload-release myrelease.tgz # Confirm bosh release is ready and get the version bosh releases