Make release image tags truly immutable
GeoIntel CI / docs-smoke (push) Canceled after 0s
GeoIntel CI / contract-smoke (push) Canceled after 0s

This commit is contained in:
Codex
2026-07-18 02:35:43 +02:00
parent 5699006a5e
commit f7078468db
6 changed files with 55 additions and 25 deletions
+6 -5
View File
@@ -81,10 +81,11 @@ password is empty or one of the documented defaults.
The repository deploy scripts run the same flow automatically. They validate
the Compose reference, preserve the current image as
`geointel-all-in-one:previous`, build an immutable commit-SHA tag plus `latest`,
install the DockerMan metadata and start the SHA-tagged image. A failed start,
live migration smoke or browser/API smoke automatically attempts the previous
image without changing the configured PostGIS or storage paths.
`geointel-all-in-one:previous`, build an immutable `<commit-sha>-ai` or
`<commit-sha>-gis` tag plus `latest`, install the DockerMan metadata and start
the immutable image. An existing matching tag is reused, never rebuilt. A
failed start, live migration smoke or browser/API smoke automatically attempts
the previous image without changing the configured PostGIS or storage paths.
`scripts/deploy_tower.sh` and `scripts/deploy_tower.ps1` source the remote
`.env` before building the image. That means `GEOINTEL_INSTALL_AI=true` in
@@ -270,7 +271,7 @@ bash deploy/unraid/rollback-dockerman-container.sh
For an older retained commit, select its immutable tag explicitly:
```bash
GEOINTEL_ROLLBACK_IMAGE=geointel-all-in-one:<commit-sha> \
GEOINTEL_ROLLBACK_IMAGE=geointel-all-in-one:<commit-sha>-ai \
bash deploy/unraid/rollback-dockerman-container.sh
```