This is a BOSH release for eirini.
- Ensure you have the following utilities:
-
Clone relevant repos to deploy CF.
git clone https://github.com/cloudfoundry/cf-deployment.git /path/to/cf-deployment git clone https://github.com/cloudfoundry-community/eirini-bosh-release.git /path/to/eirini-bosh-release
-
Create a GCP service account for use by BBL (BOSH Bootloader): Getting Started: GCP # Create a Service Account
-
Generate a certificate for use by CF load balancers. See Deploying CF#step-1-get-you-some-load-balancers for help.
-
Create and bootstrap the directory to store your BBL (BOSH Bootloader) state:
mkdir -p ~/path/to/envs/new_environment cd ~/path/to/envs/new_environment # export BBL_ENV_NAME=new_environment # export BBL_IAAS=gcp # export BBL_GCP_REGION=us-west1 # export BBL_GCP_SERVICE_ACCOUNT_KEY=/path/to/key.json bbl plan --lb-type cf --lb-domain system.tld --lb-cert /path/to/cert --lb-key /path/to/key
-
Apply the relevant plan patches to the BBL state dir.
cp -R ~/path/to/eirini-bosh-release/plan-patches/shared/. ~/path/to/envs/new_environment cp -R ~/path/to/eirini-bosh-release/plan-patches/gcp/. ~/path/to/envs/new_environment
-
Deploy the infrastructure with BBL.
bbl up
-
Upload stemcell to BOSH director
eval "$(bbl print-env)" ./upload-stemcell.sh /path/to/cf-deployment
-
Deploy CF
eval "$(bbl print-env)" ./deploy.sh /path/to/cf-deployment /path/to/eirini-bosh-release
-
Create a new DNS record by following the instructions Step 2: Update your DNS records to point to your load balancer .
-
Run the post-deploy errand:
bosh -d cf run-errand configure-eirini-bosh
- Fork this project into your GitHub organisation or username
- Make sure you are up-to-date with the upstream master and then create your feature branch (
git checkout -b amazing-new-feature
) - Add and commit the changes (
git commit -am 'Add some amazing new feature'
) - Push to the branch (
git push origin amazing-new-feature
) - Create a PR against this repository