shoc-frontend-new/scripts
Adam Moussa c96a259365
Some checks failed
Deploy dev content / Deploy shoc-frontend-new-dev through Terraform (push) Has been cancelled
refactor(cd): ship SPA content from GitHub on main (#220)
* ci(cd): convert SPA hosting to handbook HCP and GitHub content CD

Give HCP the bucket and CloudFront with an empty origin path. GitHub owns
bucket-root sync and invalidation so merge-to-main and a human staging tag
can deploy without creating HCP runs. G13 fails PRs that mix terraform/
with deployable application files.

* ci: run Frontend checks and Terraform CI on PRs to main and dev

Match backend 148 so a PR targeting origin/dev still gets the required
checks. Push remains main only.

* refactor(terraform): keep live/dev and live/staging as HCP roots

Leave the adopted working directories in place so this CD PR does not
retarget two live HCP workspaces. Flattening stays a later change.

* style: prettier terraform-validate.mjs

* fix(terraform): pin githubdeploy assume-role policy in import checker

Reject controlled role updates whose trust document is not the rendered
GitHub OIDC policy, matching the bucket-policy pin.
2026-09-18 14:30:20 -04:00
..
testdata/terraform-release-plans fix(ci): skip duplicate verify on content CD and ignore origin timeout drift (SH-300) (#183) 2026-09-11 19:17:36 +00:00
check-github-workflows.sh feat(terraform): ship dev content CD through Terraform (SH-300) (#180) 2026-09-11 13:40:14 -04:00
check-terraform-import-plan.py refactor(cd): ship SPA content from GitHub on main (#220) 2026-09-18 14:30:20 -04:00
check-terraform-release-plan.py fix(ci): skip duplicate verify on content CD and ignore origin timeout drift (SH-300) (#183) 2026-09-11 19:17:36 +00:00
check_app_terraform_isolation.py refactor(cd): ship SPA content from GitHub on main (#220) 2026-09-18 14:30:20 -04:00
deploy-web.sh ci(deploy): make dev content deploy workflow_dispatch only 2026-09-10 19:15:12 -04:00
governance-baseline.json fix(work-orders): drop vendor collateral from slide-over PR 2026-08-11 13:54:31 -03:00
governance-check.mjs refactor(cd): ship SPA content from GitHub on main (#220) 2026-09-18 14:30:20 -04:00
hcp-run-guard.py feat(terraform): ship dev content CD through Terraform (SH-300) (#180) 2026-09-11 13:40:14 -04:00
read-release-pointer.py feat(terraform): ship dev content CD through Terraform (SH-300) (#180) 2026-09-11 13:40:14 -04:00
summarize-cloudfront-live-state.sh refactor(cd): ship SPA content from GitHub on main (#220) 2026-09-18 14:30:20 -04:00
terraform-validate.mjs refactor(cd): ship SPA content from GitHub on main (#220) 2026-09-18 14:30:20 -04:00
terraform_import_plan_resources.py refactor(cd): ship SPA content from GitHub on main (#220) 2026-09-18 14:30:20 -04:00
test-hcp-run-guard.py feat(terraform): ship dev content CD through Terraform (SH-300) (#180) 2026-09-11 13:40:14 -04:00
test-terraform-import-plan-check.py refactor(cd): ship SPA content from GitHub on main (#220) 2026-09-18 14:30:20 -04:00
test-terraform-release-plan-check.py fix(ci): skip duplicate verify on content CD and ignore origin timeout drift (SH-300) (#183) 2026-09-11 19:17:36 +00:00
test-verify-cloudfront-release.sh refactor(cd): ship SPA content from GitHub on main (#220) 2026-09-18 14:30:20 -04:00
test_check_app_terraform_isolation.py refactor(cd): ship SPA content from GitHub on main (#220) 2026-09-18 14:30:20 -04:00
upload-sourcemaps.sh fix(observability): upload source maps under the client Sentry release (SH-342) (#189) 2026-09-14 15:21:15 -04:00
vendor-e2e-mock-server.mjs feat(vendors): add company roster workflows (SH-198) (#64) 2026-08-04 09:53:48 -03:00
verify-cloudfront-release.sh refactor(cd): ship SPA content from GitHub on main (#220) 2026-09-18 14:30:20 -04:00