Skip to content

concourse/prod

This repo contains scripts, terraform files, and BOSH manifests/ops-files that we use for operating our infrastructure, BOSH director, and various deployments on GCP. The ops-files in this repo are used in our automated deployments running on prod Concourse.

If you ever need to modify the prod BOSH director or any infrastructure that one of the bosh deployments use then this is the repo you want to modify.

Connecting to the existing bosh env

rm -rf bosh-topgun-bbl-state
gsutil cp -r gs://bosh-topgun-bbl-state/ .
export BBL_STATE_DIR=$PWD/bosh-topgun-bbl-state

You need a GCP service account key. Create and download one in JSON format here: https://console.cloud.google.com/apis/credentials/serviceaccountkey

Save and name the account key topgun-gcp-key.json in the root of this repo.

Set the following env vars in your terminal:

export BBL_IAAS=gcp
export BBL_GCP_REGION=us-central1
export BBL_GCP_SERVICE_ACCOUNT_KEY=$PWD/topgun-gcp-key.json
export BBL_GCP_SERVICE_ACCOUNT_KEY_PATH=$PWD/topgun-gcp-key.json
export BBL_GCP_PROJECT_ID=cf-concourse-production
export BBL_GCP_ZONE=us-central1-f

Then run

cd bosh-topgun-bbl-state
eval "$(bbl print-env)"

You can now run bosh commands.

Updating the Bosh worker for ci.concourse-ci.org

We only have one bosh worker for CI right now. You can manually deploy it using the YAML file in ./deployments. Edit bosh-worker.yml with new release from https://bosh.io/releases/github.com/concourse/concourse-bosh-release?all=1 or from one of the releases already uploaded. You can see those by running bosh releases.

bosh -d bosh-worker deploy ./deployments/bosh-worker.yml

About

bosh/terraform config for our deployments

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 19