Make release image tags truly immutable
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user