Skip to content

Deploying Changes

App / backend

  1. Push to the demo branch (roni/eng-5797-demo-env-do-not-merge).
  2. Run build-and-push-binaries against the branch with the full commit SHA.
  3. Roll only the changed services:
    Terminal window
    kubectl set image deploy/<svc> <svc>=europe-west1-docker.pkg.dev/torch-security-prod/docker-main/<svc>:<sha>

This runbook

Self-deploying: pushes touching docs/demo/** trigger cd-docs-demo.yml, which builds the docs-internal image and deploys it. Edit → push → live.

Terminal window
cd docs/demo && bun install && bun run dev # local preview

Add a page: drop an .mdx under src/content/docs/ and add it to sidebar in astro.config.mjs.

Infra

Static IPs / certs / GCP resources live in the Terraform Cloud demo workspace. New hosts need a static IP + DNS A record + managed cert.