New Environment Walkthrough

This step by step guide will help you deploy a new environment. For further detail refer to README in every repo (specially on cb_infra).

  1. Create a GCP project with concrete-backend-{env} and configure billing properly.

  2. Clone cb_infra

  3. Install dependencies

  4. Create pulumi.{env}.yaml file and fill env vars

  5. Run pulumi up -s {env}

  6. It will fail on the first try, asking to enable the APIs in the GCP project. Enable clicking the links and run again and again until everything is deployed.

  7. Go to ./db in the cb_infra repo, replace .env, and run the script to GRANT access to the IAM users in the DB.

  8. Go to each service repo and create a branch named {env}. Go to GitHub Actions and configure a GCP_PROJECT_NUMBER for that environment.

  9. Create a new overlay in the ./k8s/overlays folder named {env} and configure the env file.

  10. Push to that branch and verify it deployed correctly

  11. The last repo to deploy will be cb_api-gateway in a similar manner

Last updated