Skip to content

Remove gamma.onehook.club frontend site (prod + local stay on gamma backend) - #2

Merged
pushpsood merged 1 commit into
mainfrom
chore/remove-gamma-frontend-site
Sep 6, 2026
Merged

pushpsood merged 1 commit into
mainfrom
chore/remove-gamma-frontend-site

Conversation

@pushpsood

Copy link
Copy Markdown
Owner

Summary

Keep only local dev and production (onehook.club) as frontend targets. Removes the gamma.onehook.club website deployment, its CDK-managed hosted zone, and the cross-account API DNS delegation. Production and local both continue to point at the Gamma backend (api.gamma.onehook.club) via VITE_BACKEND_STAGE=gamma.

Changes

  • frontend-app.ts: prod-only stage; --context env accepts only prod
  • frontend-stack.ts: drop apiDelegation + createHostedZone (always import existing zone)
  • constants.ts: drop gamma domain, GAMMA_CERTIFICATE_ARN, BACKEND_DNS, DNS_DELEGATION, resolveBackendDns
  • Pipeline: remove DeployGamma + SmokeGamma stages; delete gamma-deploy.yml
  • Delete unused infra/lambda/api-dns-reader
  • package.json: drop synth:gamma / deploy:gamma
  • Tests + docs updated

New pipeline flow: Source -> Verify -> BuildProduction -> ApproveProduction -> DeployProduction -> SmokeProduction.

Tested

  • npm run lint clean; npm test 228/228 pass
  • npm run synth:prod -> only OneHook-Certificate-prod + OneHook-Frontend-prod
  • npm run synth:pipeline -> 6 correct stages, no gamma site refs
  • Live pipeline already updated: OneHook-Frontend-Pipeline deployed (UPDATE_COMPLETE); get-pipeline confirms the six stages and removal of the gamma CodeBuild projects/roles/log groups. This PR brings the repo source-of-truth in line with the deployed pipeline.

…cal on gamma backend

Keep only local dev and production (onehook.club) as frontend targets. The
gamma.onehook.club website, its CDK-managed hosted zone, and the cross-account
API DNS delegation are removed. Production and local both continue to point at
the Gamma backend (api.gamma.onehook.club) via VITE_BACKEND_STAGE=gamma.

- frontend-app.ts: prod-only stage; --context env accepts only 'prod'
- frontend-stack.ts: drop apiDelegation + createHostedZone (always import zone)
- constants.ts: drop gamma domain, GAMMA_CERTIFICATE_ARN, BACKEND_DNS, DNS_DELEGATION, resolveBackendDns
- pipeline: remove DeployGamma + SmokeGamma stages; delete gamma-deploy.yml buildspec
- delete unused infra/lambda/api-dns-reader
- package.json: drop synth:gamma / deploy:gamma
- tests: update pipeline stage expectations and ownership constants
- docs: update README + FRONTEND_PRODUCTION for prod-only site

Pipeline flow is now: Source -> Verify -> BuildProduction -> ApproveProduction
-> DeployProduction -> SmokeProduction.
@pushpsood
pushpsood merged commit 3dde2f7 into main Sep 6, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant