-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeploy.env.example
More file actions
51 lines (46 loc) · 2.34 KB
/
Copy pathdeploy.env.example
File metadata and controls
51 lines (46 loc) · 2.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# This deployment's identity — the ONE place local scripts read it from.
#
# Sprint TEMPLATE-INVERT M4b. Design:
# docs/design/template/template-repo-topology.md
#
# Copy to `deploy.env` (gitignored) and fill in your own values:
#
# make materialize-config
#
# WHY a file instead of literals in the scripts
#
# `scripts/dev.sh`, `promote-env.sh`, `smoke-*.sh` and `smoke_test_infra.py`
# each carried their own copy of the per-env project map. That is this
# deployment's identity duplicated six times, and it shipped to every fork —
# a fork running `make dev` pointed ADC at OUR project.
#
# It also cannot survive the upstream/downstream inversion: a tracked file
# holding real values here and placeholder values upstream is the same path
# with different bytes on each side, which conflicts on every sync. So the
# EXAMPLE is tracked and the real file is generated and gitignored.
#
# Cloud Build does NOT read this — deployed values come from Terraform-managed
# trigger substitutions. This is for laptop-side scripts only.
# --- GCP projects, per environment -------------------------------------------
# Scripts derive the env tier from the project id SUFFIX (-dev / -test /
# -production), the same way cloudbuild.yaml and `_env_from_project` do, so
# keeping that suffix convention is worth it.
DEPLOY_PROJECT_DEV=your-project-id-dev
DEPLOY_PROJECT_TEST=your-project-id-test
DEPLOY_PROJECT_PROD=your-project-id-production
# The project hosting Cloud Build triggers and Artifact Registry. Distinct from
# the per-env runtime projects above — a fork that inherits someone else's here
# points `make promote` at their build project.
DEPLOY_BUILD_PROJECT=your-deploy-project-id
# --- Cloud Run ---------------------------------------------------------------
# The multi-container service (Next.js `main` + FastAPI `sidecar`).
DEPLOY_SERVICE_NAME=platform-frontend
DEPLOY_REGION=europe-west1
# --- Local dev ---------------------------------------------------------------
# Which project `scripts/dev.sh` points ADC at. Usually the dev project above.
# LOCAL_MODE=1 needs no GCP project at all — see scripts/dev-local.sh.
DEV_GCP_PROJECT=your-project-id-dev
# --- Deployed service URLs (used by the e2e + smoke scripts) ---
DEPLOY_HOST_DEV=https://your-service-url.example
DEPLOY_HOST_TEST=https://your-service-url.example
DEPLOY_HOST_PROD=https://your-service-url.example