This project is dedicated to provide template based solutions for creating Cloudbreak deployments on different cloud providers:
- Git
- Curl
- Tar
- Docker
- The node package manager (NPM)
- Google cloud SDK
Run the following command to download the required dependencies.
This command is not mandatory, because the command that are require dependencies will run this make target before start to run.
make deps
Run the following command to generate templates for all available cloud providers. The VERSION
env variable needs to be exported or specified to run this command.
The generation can be run only for one provider:
make generate-azure
,make generate-aws
andmake generate-gcp
According to the AWS documentation the Cloudformation Stack template URL must point to a template with a maximum size of 460,800 bytes that is stored in an S3 bucket that you have read permissions to... So the AWS template generation mechanism tries to upload the generated template to an existing S3 bucket and theAWS_ACCESS_KEY_ID
and theAWS_SECRET_ACCESS_KEY
env variables must be specified. TheUPLOAD_BUCKET
which value iscbd-quickstart
by default could be overridden.
export VERSION=2.7.0-dev.127
export AWS_ACCESS_KEY_ID=XXXX.....
export AWS_SECRET_ACCESS_KEY=XZZZD.....
make generate-all
or
AWS_SECRET_ACCESS_KEY=XZZZD..... AWS_ACCESS_KEY_ID=XXXX..... VERSION=2.7.0-dev.127 make generate-all
The VERSION
env variable is also mandatory for this command. It only creates a commit on the checkouted branch with all of the modified files, tags it with the configured value of VERSION
and pushes local modifications to the remote branch.
export VERSION=2.7.0-dev.127
make push-updated-templates
or
VERSION=2.7.0-dev.127 make push-updated-templates