C1: deploy shower v1.1.0 (phases + guest memories) #354
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "shower-v1.1.0"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Deploys
adelaide-baby-shower-appv1.1.0 to ringtail k3s.App changes (since v1.0.2)
ShowerStatereplaces the booleanlockedflag —pre_event→party→prizes_locked→event_locked— with a backfill migration that mapslocked=True → pre_event,locked=False → party.GuestPhoto+GuestCommentmodels with file-extension validators and a max-size validator; newshower.imagingmodule for thumbnail generation.Three Django migrations run automatically in the entrypoint against the SQLite PV:
0009_shower_phase0010_guest_memories0011_book_descriptionNo ConfigMap / env-var changes. The deploy uses
strategy: Recreatewith a single replica, so the old pod releases the data PVC before the new one mounts it and runs migrations.Container build changes
The v1.1.0 tag exposed a latent issue with the Forgejo PyPI install path:
/api/packages/*publicly.ROOT_URL(forge.eblu.me), so pip-installing from the tailnet index URL still tries to download fromforge.eblu.me→ 403.Fix mirrors what we already do for the sdist: both wheel and sdist are pulled via direct
fetchurlagainstforge.ops.eblu.me, then the wheel is copied to TMPDIR under its clean filename (nix store path's hash prefix breaks pip's wheel-filename parser) and handed to pip as a local path. The forge--extra-index-urlis no longer needed.FOD outputHash pinned to
sha256-kTNOswobtkgyQmmqbQM8XO4vvaGg57nCuuZGbNXb0NM=from run 547. Image:registry.ops.eblu.me/blumeops/shower:v1.1.0-444ff91-nix.Adjacent finding (already handled)
The ringtail
gitea-runner-nix_container_buildersystemd unit was leftinactiveafter the recentprovision-ringtail(matches the knownsshd-restart-hangs-muxlesson — the rebuild changed the unit's PATH closure + config.yaml, systemd stopped it, then the playbook hung before the activation could restart it). Manually started; the existing memorylesson_provision_ringtail_ssh_hang.mdwas extended to mention the runner as the canary service to check after provisions.Test plan
argocd app diff shower --revision shower-v1.1.0— review the manifest changeargocd app set shower --revision shower-v1.1.0 && argocd app sync showerkubectl --context=k3s-ringtail logs -n shower deploy/shower— confirm migrations 0009/0010/0011 applied, no errorshttps://shower.ops.eblu.me/(tailnet) — splash page renders, phase indicator visiblehttps://shower.ops.eblu.me/host/— host console loads, phase dropdown shows the four stateshttps://shower.eblu.me/(public via Fly) — splash page still servedargocd app set shower --revision main && argocd app sync shower