agnes-the-ai-analyst/infra/modules/customer-instance
ZdenekSrotyr af6761f33e fix(version): bake AGNES_VERSION/CHANNEL/COMMIT_SHA into image ENV
Before: startup script wrote AGNES_VERSION=stable (the floating tag name)
into .env, which overrode the image's build-time ENV AGNES_VERSION=2026.04.47.
UI badge showed 'stable-stable' instead of 'stable-2026.04.47'.

After:
- Dockerfile ARG/ENV for AGNES_COMMIT_SHA (alongside existing VERSION + CHANNEL)
- release.yml passes github.sha as AGNES_COMMIT_SHA build-arg
- Startup script no longer writes these three into .env; the app reads them
  from the image ENV set at build time.

Result: badge displays 'stable-2026.04.47 · stable · <time> ago' with the
real CalVer, and the commit SHA tooltip points at an actual commit rather
than the floating manifest digest.
2026-04-21 21:00:04 +02:00
..
main.tf fix(infra): alert policy aggregation — drop cross_series_reducer 2026-04-21 20:36:09 +02:00
outputs.tf feat(infra): add daily backup snapshot + monitoring alerts 2026-04-21 19:01:56 +02:00
startup-script.sh.tpl fix(version): bake AGNES_VERSION/CHANNEL/COMMIT_SHA into image ENV 2026-04-21 21:00:04 +02:00
variables.tf feat(infra): address code review — scoped SA, fail-fast secrets, firewall split, cron reads .env, merge fix 2026-04-21 19:39:53 +02:00