bump(resources): all stacks to stage-32b4d9e (CI tags with the push head; stage-1167e27 was never built)
Build & push images / images (push) Successful in 8m24s

This commit is contained in:
2026-10-08 17:36:52 +02:00
parent 32b4d9e92b
commit 354de04a3d
3 changed files with 11 additions and 4 deletions
+4 -4
View File
@@ -49,7 +49,7 @@ REGISTRY=git.infra.msai.al/mca/parking_solution
# Staging booth: pinned immutable stage-<sha>. After each promotion (merge dev → stage, CI builds
# :stage-<sha>), bump this to the new sha and re-sync/deploy from Core. The moving `:stage` tag
# exists as the pointer; we deploy the sha, not the mover.
TAG=stage-1167e27
TAG=stage-32b4d9e
COOKIE_SECURE=0
# Venue modules this site is ENTITLED to (vendor decision; the site admin activates within
# this set in Setup → Site). Unset = every registered module. See wiki/decisions/venue-modules.md.
@@ -94,7 +94,7 @@ REGISTRY=git.infra.msai.al/mca/parking_solution
# Staging booth: pinned immutable stage-<sha>. After each promotion (merge dev → stage, CI builds
# :stage-<sha>), bump this to the new sha and re-sync/deploy from Core. The moving `:stage` tag
# exists as the pointer; we deploy the sha, not the mover.
TAG=stage-1167e27
TAG=stage-32b4d9e
COOKIE_SECURE=0
# Venue modules this site is ENTITLED to (vendor decision; the site admin activates within
# this set in Setup → Site). Unset = every registered module. See wiki/decisions/venue-modules.md.
@@ -145,7 +145,7 @@ environment = """
REGISTRY=git.infra.msai.al/mca/parking_solution
# Lab: pinned to the SAME stage-<sha> as the booth whose bug is being reproduced (bump
# alongside it). A lab may float, but a reproduction must run the booth's exact image.
TAG=stage-1167e27
TAG=stage-32b4d9e
# The lab stack runs on art-docker-station (2026-10-08), a SHARED host: :80 is another service's
# and :3000 / :8089 may be too. These three move every host binding (Caddy listen, host-net
# server, vision loopback publish); the UI is then http://<station>:8080/. Booth stacks leave
@@ -197,7 +197,7 @@ registry_account = "komodo"
environment = """
REGISTRY=git.infra.msai.al/mca/parking_solution
# Pinned like the booths: bump to the stage-<sha> that carries the collector.
TAG=stage-1167e27
TAG=stage-32b4d9e
# The host's NETBIRD address (an IP: Docker port bindings take no hostname) — the ingest port
# is published on the overlay only. Booths reach it by its Netbird DNS name.
COLLECTOR_BIND=100.75.184.156
@@ -72,6 +72,12 @@ Three git branches map to three image tags and three booth roles:
CI (`build-images.yml`, which now triggers on `dev`/`stage`/`main`) builds `:stage` + `:stage-<sha>`;
then **bump `TAG=stage-<sha>`** in `komodo/resources.toml` and deploy from Core. `main` only ever
receives what survived staging.
- ⚠️ **`<sha>` is the sha of the push HEAD, not of the code commit.** CI runs once per push and tags
with `GITHUB_SHA`. If the code commit and the `bump(resources)` commit go up in the *same* push,
the image is `stage-<bump sha>` and the pin (`stage-<code sha>`) points at nothing — Komodo fails
with `failed to resolve reference … not found` (2026-10-08, `stage-1167e27`). Either push the code
commit first and bump after the build lands, or pin to whatever sha is the push head. A
komodo-only push does not trigger a build, so a pin-fix commit pushed alone is safe.
- **`stage` was branched from `dev`** (2026-06-29) so the first real-world test carries the full current
app, not a `main` that predates this work. `park-buzi`'s Stack `branch` + `TAG` both point at `stage`.
- **DB migrations run at boot** (`migrate-runtime.mjs`), so a promotion auto-migrates the staging booth's
+1
View File
@@ -3441,3 +3441,4 @@ park-2 right after redeploy: 128 server + 160 vision lines in 15 min, ~90 % heal
code, not by level: `/health` silent on both services, one request line instead of two (with an
`onError` hook so 5xx keep logging under `disableRequestLogging`), hik-alarm HIT and per-snapshot
byte lines demoted to debug via a level on `stubLog`. Pages: [[app-logs]] §Noise cut.
- 2026-10-08 — **stage-1167e27 never built**: the code fix and the TAG bump were pushed together, so CI tagged the image with the push head (`stage-32b4d9e`); Komodo deploy failed "not found". Re-pinned all four stacks to `stage-32b4d9e`; rule added to [[fleet-deployment-komodo]] (push code first, bump after the build).