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
).
Create a GCP project with
concrete-backend-{env}
and configure billing properly.Clone
cb_infra
Install dependencies
Create
pulumi.{env}.yaml
file and fill env varsRun
pulumi up -s {env}
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.
Go to
./db
in thecb_infra
repo, replace.env,
and run the script to GRANT access to the IAM users in the DB.Go to each service repo and create a branch named
{env}
. Go to GitHub Actions and configure aGCP_PROJECT_NUMBER
for that environment.Create a new overlay in the
./k8s/overlays
folder named{env}
and configure the env file.Push to that branch and verify it deployed correctly
The last repo to deploy will be
cb_api-gateway
in a similar manner
Last updated