Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ai/context/operations.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ token the owner chooses. The full steps are in

```bash
orun secrets set CMS_SETUP_TOKEN --org <ws> --env stage # a token of 16+ characters; it prompts
# merge any change to apps/cms (or re-run its lane) so the deploy pushes it, or:
# dispatch CI (component cms, environment stage) or merge a change under apps/cms so the next deploy pushes it (a re-run does not deploy), or:
# pnpm --filter @saas/cms exec wrangler secret put CMS_SETUP_TOKEN --name lumen-payload-cms-stage
# then visit https://lumen-payload-cms-stage.<subdomain>.workers.dev/setup?token=<token>
```
Expand Down
6 changes: 6 additions & 0 deletions apps/admin-worker/component.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ spec:
- profile: deploy
when:
triggerRef: github-push-main
- profile: deploy
when:
triggerRef: github-dispatch
- name: prod
profile: verify
# wire-live (deploy profile) is the only reader, and dev never
Expand All @@ -62,6 +65,9 @@ spec:
- profile: deploy
when:
triggerRef: github-push-main
- profile: deploy
when:
triggerRef: github-dispatch
parameters:
nodeVersion: "22"
pnpmVersion: "10.12.1"
Expand Down
6 changes: 6 additions & 0 deletions apps/api-edge/component.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ spec:
- profile: deploy
when:
triggerRef: github-push-main
- profile: deploy
when:
triggerRef: github-dispatch
- name: prod
# Peer edges are runtime calls, not deploy order: every binding
# target exists before this deploys (policy-worker's pre-deploy
Expand All @@ -100,6 +103,9 @@ spec:
- profile: deploy
when:
triggerRef: github-push-main
- profile: deploy
when:
triggerRef: github-dispatch
parameters:
nodeVersion: "22"
pnpmVersion: "10.12.1"
Expand Down
6 changes: 6 additions & 0 deletions apps/billing-worker/component.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ spec:
- profile: deploy
when:
triggerRef: github-push-main
- profile: deploy
when:
triggerRef: github-dispatch
- name: prod
# Peer edges are runtime calls, not deploy order: every binding
# target exists before this deploys (policy-worker's pre-deploy
Expand All @@ -81,6 +84,9 @@ spec:
- profile: deploy
when:
triggerRef: github-push-main
- profile: deploy
when:
triggerRef: github-dispatch
parameters:
nodeVersion: "22"
pnpmVersion: "10.12.1"
Expand Down
6 changes: 6 additions & 0 deletions apps/cms/component.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ spec:
- profile: deploy
when:
triggerRef: github-push-main
- profile: deploy
when:
triggerRef: github-dispatch
- name: prod
profile: verify
env:
Expand All @@ -95,6 +98,9 @@ spec:
- profile: deploy
when:
triggerRef: github-push-main
- profile: deploy
when:
triggerRef: github-dispatch
parameters:
nodeVersion: "22"
pnpmVersion: "10.12.1"
Expand Down
8 changes: 6 additions & 2 deletions apps/cms/docs/runbook.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,12 @@ opens. Once per environment:

1. Choose a token of at least 16 characters, and keep it to yourself.
2. Give it to the Worker, either way:
- in the workspace's secrets for that environment, as `CMS_SETUP_TOKEN`; the
next CMS deploy pushes it; or
- in the workspace's secrets as `CMS_SETUP_TOKEN`, for that environment or
on the workspace-shared rung (both environments read it). The CMS's next
deploy pushes it to the Worker: run the on-demand deploy (Actions → CI →
Run workflow, component `cms`, environment `stage` or `prod`), or merge any
change under `apps/cms`. Re-running an earlier run does not deploy: the
lane's recorded result is reused; or
- directly: `pnpm exec wrangler secret put CMS_SETUP_TOKEN --name lumen-payload-cms-<env>`
(it prompts for the value).
3. Visit `https://lumen-payload-cms-<env>.nexo-7be.workers.dev/setup?token=<token>`.
Expand Down
6 changes: 6 additions & 0 deletions apps/config-worker/component.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ spec:
- profile: deploy
when:
triggerRef: github-push-main
- profile: deploy
when:
triggerRef: github-dispatch
- name: prod
# Peer edges are runtime calls, not deploy order: every binding
# target exists before this deploys (policy-worker's pre-deploy
Expand All @@ -81,6 +84,9 @@ spec:
- profile: deploy
when:
triggerRef: github-push-main
- profile: deploy
when:
triggerRef: github-dispatch
parameters:
nodeVersion: "22"
pnpmVersion: "10.12.1"
Expand Down
6 changes: 6 additions & 0 deletions apps/events-worker/component.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ spec:
- profile: deploy
when:
triggerRef: github-push-main
- profile: deploy
when:
triggerRef: github-dispatch
- name: prod
# Peer edges are runtime calls, not deploy order: every binding
# target exists before this deploys (policy-worker's pre-deploy
Expand All @@ -75,6 +78,9 @@ spec:
- profile: deploy
when:
triggerRef: github-push-main
- profile: deploy
when:
triggerRef: github-dispatch
parameters:
nodeVersion: "22"
pnpmVersion: "10.12.1"
Expand Down
6 changes: 6 additions & 0 deletions apps/identity-worker/component.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ spec:
- profile: deploy
when:
triggerRef: github-push-main
- profile: deploy
when:
triggerRef: github-dispatch
- name: prod
# Peer edges are runtime calls, not deploy order: every binding
# target exists before this deploys (policy-worker's pre-deploy
Expand All @@ -91,6 +94,9 @@ spec:
- profile: deploy
when:
triggerRef: github-push-main
- profile: deploy
when:
triggerRef: github-dispatch
parameters:
nodeVersion: "22"
pnpmVersion: "10.12.1"
Expand Down
6 changes: 6 additions & 0 deletions apps/integrations-worker/component.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ spec:
- profile: deploy
when:
triggerRef: github-push-main
- profile: deploy
when:
triggerRef: github-dispatch
- name: prod
# Peer edges are runtime calls, not deploy order: every binding
# target exists before this deploys (policy-worker's pre-deploy
Expand All @@ -87,6 +90,9 @@ spec:
- profile: deploy
when:
triggerRef: github-push-main
- profile: deploy
when:
triggerRef: github-dispatch
parameters:
nodeVersion: "22"
pnpmVersion: "10.12.1"
Expand Down
6 changes: 6 additions & 0 deletions apps/membership-worker/component.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ spec:
- profile: deploy
when:
triggerRef: github-push-main
- profile: deploy
when:
triggerRef: github-dispatch
- name: prod
# Peer edges are runtime calls, not deploy order: every binding
# target exists before this deploys (policy-worker's pre-deploy
Expand All @@ -76,6 +79,9 @@ spec:
- profile: deploy
when:
triggerRef: github-push-main
- profile: deploy
when:
triggerRef: github-dispatch
parameters:
nodeVersion: "22"
pnpmVersion: "10.12.1"
Expand Down
6 changes: 6 additions & 0 deletions apps/metering-worker/component.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ spec:
- profile: deploy
when:
triggerRef: github-push-main
- profile: deploy
when:
triggerRef: github-dispatch
- name: prod
# Peer edges are runtime calls, not deploy order: every binding
# target exists before this deploys (policy-worker's pre-deploy
Expand All @@ -75,6 +78,9 @@ spec:
- profile: deploy
when:
triggerRef: github-push-main
- profile: deploy
when:
triggerRef: github-dispatch
parameters:
nodeVersion: "22"
pnpmVersion: "10.12.1"
Expand Down
6 changes: 6 additions & 0 deletions apps/notifications-worker/component.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ spec:
- profile: deploy
when:
triggerRef: github-push-main
- profile: deploy
when:
triggerRef: github-dispatch
- name: prod
profile: verify
# wire-live (deploy profile) is the only reader, and dev never
Expand All @@ -64,6 +67,9 @@ spec:
- profile: deploy
when:
triggerRef: github-push-main
- profile: deploy
when:
triggerRef: github-dispatch
parameters:
nodeVersion: "22"
pnpmVersion: "10.12.1"
Expand Down
6 changes: 6 additions & 0 deletions apps/policy-worker/component.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,18 @@ spec:
- profile: deploy
when:
triggerRef: github-push-main
- profile: deploy
when:
triggerRef: github-dispatch
- name: prod
profile: verify
profileRules:
- profile: deploy
when:
triggerRef: github-push-main
- profile: deploy
when:
triggerRef: github-dispatch
parameters:
nodeVersion: "22"
pnpmVersion: "10.12.1"
Expand Down
6 changes: 6 additions & 0 deletions apps/projects-worker/component.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ spec:
- profile: deploy
when:
triggerRef: github-push-main
- profile: deploy
when:
triggerRef: github-dispatch
- name: prod
# Peer edges are runtime calls, not deploy order: every binding
# target exists before this deploys (policy-worker's pre-deploy
Expand All @@ -76,6 +79,9 @@ spec:
- profile: deploy
when:
triggerRef: github-push-main
- profile: deploy
when:
triggerRef: github-dispatch
parameters:
nodeVersion: "22"
pnpmVersion: "10.12.1"
Expand Down
6 changes: 6 additions & 0 deletions apps/web-console-next/component.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,18 @@ spec:
- profile: deploy
when:
triggerRef: github-push-main
- profile: deploy
when:
triggerRef: github-dispatch
- name: prod
profile: verify
profileRules:
- profile: deploy
when:
triggerRef: github-push-main
- profile: deploy
when:
triggerRef: github-dispatch
parameters:
nodeVersion: "22"
pnpmVersion: "10.12.1"
Expand Down
6 changes: 6 additions & 0 deletions apps/webhooks-worker/component.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ spec:
- profile: deploy
when:
triggerRef: github-push-main
- profile: deploy
when:
triggerRef: github-dispatch
- name: prod
# Peer edges are runtime calls, not deploy order: every binding
# target exists before this deploys (policy-worker's pre-deploy
Expand All @@ -81,6 +84,9 @@ spec:
- profile: deploy
when:
triggerRef: github-push-main
- profile: deploy
when:
triggerRef: github-dispatch
parameters:
nodeVersion: "22"
pnpmVersion: "10.12.1"
Expand Down
6 changes: 6 additions & 0 deletions infra/db-migrate/component.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,19 @@ spec:
- profile: apply
when:
triggerRef: github-push-main
- profile: apply
when:
triggerRef: github-dispatch

- name: prod
profile: plan
profileRules:
- profile: apply
when:
triggerRef: github-push-main
- profile: apply
when:
triggerRef: github-dispatch
# ci: re-trigger deploy (batch A — runner-starvation recovery 20260622T115650Z)
# ci: re-trigger deploy (batch A — runner-starvation recovery 20260622T115650Z)
# ci: re-apply migrations onto the recreated Supabase database (20260821T062704Z)
Expand Down
6 changes: 6 additions & 0 deletions infra/terraform/cloudflare-hyperdrive-cms/component.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,16 @@ spec:
- profile: apply
when:
triggerRef: github-push-main
- profile: apply
when:
triggerRef: github-dispatch

- name: prod
profile: plan-only
profileRules:
- profile: apply
when:
triggerRef: github-push-main
- profile: apply
when:
triggerRef: github-dispatch
6 changes: 6 additions & 0 deletions infra/terraform/cloudflare-hyperdrive/component.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,19 @@ spec:
- profile: apply
when:
triggerRef: github-push-main
- profile: apply
when:
triggerRef: github-dispatch

- name: prod
profile: plan-only
profileRules:
- profile: apply
when:
triggerRef: github-push-main
- profile: apply
when:
triggerRef: github-dispatch
# ci: trigger convergence — first-boot infra bring-up (hyperdrive stage/prod)
# ci: re-apply hyperdrive against the recreated Supabase origin (20260821T061640Z)
# orun: redeploy 03-infrastructure-database as_fea059d4bc454b39ae15
6 changes: 6 additions & 0 deletions infra/terraform/cloudflare-kv/component.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,18 @@ spec:
- profile: apply
when:
triggerRef: github-push-main
- profile: apply
when:
triggerRef: github-dispatch

- name: prod
profile: plan-only
profileRules:
- profile: apply
when:
triggerRef: github-push-main
- profile: apply
when:
triggerRef: github-dispatch
# ci: re-trigger kv apply with brand-namespaced title (baseline collision fix)
# orun: redeploy 03-infrastructure as_fea059d4bc454b39ae15
Loading
Loading