Skip to content

chore: Promote demo image tags to match current dev :latest (2026-05-27)#955

Open
bjagg wants to merge 1 commit into
LIF-Initiative:mainfrom
bjagg:chore/demo-image-tag-promotion
Open

chore: Promote demo image tags to match current dev :latest (2026-05-27)#955
bjagg wants to merge 1 commit into
LIF-Initiative:mainfrom
bjagg:chore/demo-image-tag-promotion

Conversation

@bjagg
Copy link
Copy Markdown
Contributor

@bjagg bjagg commented May 28, 2026

Summary

Standard outcome of running ./scripts/release-demo.sh --apply after today's full demo-environment promotion. 29 demo CFN param files updated to pin to the dev :latest image tags as of 2026-05-27. MDR API specifically targets commit 2db4ab9 (post-#947 / pre-#950).

What was deployed today

Step What Notes
1 setup-mdr-api-keys.sh demo --apply Created the missing /demo/mdr-api/MdrAuthServiceApiKeyPostConfirm + /demo/mdr-post-confirm/MdrApiKey SSM params
2 release-demo.sh --apply This PR — param files now reflect current dev :latest
3 demo-lif-mdr-api stack New task def mdr-api-demo:7 with POST_CONFIRM secret + tenant routing env vars
4 demo-lif-mdr-cognito stack Added LifTeamGroup (Precedence 10), swapped post-confirm Lambda body, customized verification email
4b SAM mdr-database (Flyway) Applied V1.2/V1.3/V1.4 migrations — caught and added to the cheatsheet during this promotion (was missing from the TL;DR). clone_lif_schema function now exists; tenant_lif_team cloned from public
5 release-demo-frontend.sh main --apply SPA built from main, synced to S3, CloudFront invalidated
6 Stale-user cleanup No-op — demo Cognito pool was empty

Smoke tests after promotion

/datamodels/                  HTTP 200  21 models
/datamodels/with_details/17   HTTP 200  37 entities  (StateU LIF)
/datamodels/with_details/18   HTTP 200  23 entities  (Org2 LIF)
/datamodels/with_details/1    HTTP 200  54 entities  (base LIF, regression)
/tenants/provision            HTTP 200/201 — function exists and is idempotent

Cheatsheet update

The cheatsheet (docs/operations/guides/884-demo-promotion-cheatsheet.md, still uncommitted in working tree) had Step 4b missing from the TL;DR. I added it locally. Will commit + share once @bjagg reviews.

Follow-up

  • One leftover smoke-test tenant schema on demo's MDR DB: tenant_eval_promotion_smoketest_tenant. I called /tenants/provision directly during step 4b verification, which cloned demo's public into a stale schema. Harmless but cluttery; tracked separately for cleanup when there's bastion / psql access (no clean API path exists to drop it).

🤖 Generated with Claude Code

Standard outcome of `./scripts/release-demo.sh --apply` after 2026-05-27
demo promotion. 29 demo CFN param files updated; MDR API specifically
pins to commit `2db4ab9` (the post-LIF-Initiative#947 / pre-LIF-Initiative#950 squash on main).

Stacks deployed during this promotion (in order):
1. SSM params via setup-mdr-api-keys.sh (post-confirm key)
2. release-demo.sh --apply (this commit)
3. demo-lif-mdr-api stack (new task def with POST_CONFIRM secret +
   Cognito/tenant routing env vars)
4. demo-lif-mdr-cognito stack (LifTeamGroup added, post-confirmation
   Lambda swapped for the version that calls MDR /tenants/provision,
   verification email template applied)
4b. SAM mdr-database (Flyway V1.2/V1.3/V1.4 + `flyway repair` step
    from PR LIF-Initiative#939) — caught and added to the cheatsheet during this
    promotion because the TL;DR was missing this step
5. release-demo-frontend.sh main --apply (header indicator + friendly
   display_name + right-pin badge)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

1 participant