Skip to content

Chore/runtime image naming and mounts - #138

Merged
jravani merged 3 commits into
mainfrom
chore/runtime-image-naming-and-mounts
Sep 23, 2026
Merged

jravani merged 3 commits into
mainfrom
chore/runtime-image-naming-and-mounts

Conversation

@jravani

@jravani jravani commented Sep 23, 2026

Copy link
Copy Markdown
Member

No description provided.

Dockerfile.server built only the server; it now builds the CLI too, so
the name no longer describes it. Renamed to Dockerfile.runtime. The
published image name is unchanged, so nothing downstream moves.

The server service mounted data/ as a whole, which hid the data/tabula
baked into the image behind the host's copy. Anything tested there was
testing the host's CSVs, so the no-host-mount configuration the image is
built for was never exercised by this file. The dataset directories are
now mounted individually.

Verified: with the old mount the CSVs come from the host; with the new
one they come from the image while the host's lod2 tiles still arrive;
with no mounts at all the image carries all 20.

The service comment described `go run` against the dev image, no
separate build target, and data/ being excluded from the image. None of
those had been true since the runtime image was added.
The city2tabula-environment service runs bash for interactive CLI
use and serves nothing on port 5000, so publishing it only occupied
host port 5000. Remove the mapping and the HOST_PORT variable that
fed it.
The HTTP service's container becomes city2tabula, matching the other
heat-stack services such as buem-gateway, and the interactive CLI
shell becomes city2tabula-cli instead of city2tabula-environment. The
makefile and setup scripts exec into the new CLI name.

city2tabula-server stays as a network alias on tentacron-net so
existing TentaCron proxy targets keep resolving until they move to
the new name. The published image name is unchanged.
@jravani
jravani merged commit 2aa6cb9 into main Sep 23, 2026
4 checks passed
@jravani
jravani deleted the chore/runtime-image-naming-and-mounts branch September 23, 2026 10:28
@codecov

codecov Bot commented Sep 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant