feat(statehub): publish railiance image

This commit is contained in:
2026-06-25 14:01:10 +02:00
parent b536741539
commit 48815b3db9
3 changed files with 54 additions and 20 deletions

View File

@@ -6,13 +6,15 @@ The State Hub production image is built from `state-hub/Dockerfile`.
```bash
cd state-hub
docker build -t state-hub:local .
docker build --build-context hub_core_src=/home/worsch/hub-core \
-t state-hub:local \
-t gitea.coulomb.social/coulomb/state-hub:<git-sha> .
```
The image installs runtime dependencies from `pyproject.toml` and excludes the
local editable `llm-connect` dependency. `llm-connect` is currently used by the
test suite only; the API and MCP runtime do not import it. Removing that
workstation-local path from the image keeps cluster builds reproducible.
The image installs runtime dependencies from `pyproject.toml` and excludes
workstation-local editable sources from registry resolution. `llm-connect` is
test-only and omitted. `hub-core` is runtime code and is installed from the
named `hub_core_src` Docker build context until it is published as a package.
## Runtime
@@ -49,7 +51,28 @@ Expected response:
{"status":"ok","db":"connected"}
```
## Current Local Build
## Current Published Build
Verified and published on 2026-06-25:
```text
image: gitea.coulomb.social/coulomb/state-hub:b536741
source commit: b536741
local image id / index digest: sha256:3184dfd67f127cf8bd5303d7a210d6dc32e7ab05a5da5d51eab5b9a37dab4d4e
linux/amd64 manifest digest: sha256:a8f30b35c10d9c90fecf4e3ec82849ccb484b6c137cfce7948931005b9690377
config digest pulled by railiance01: sha256:5ce9c52fa554d6415e7d65d954e0778a8d8f7f8ebb5387c9e6694e1caac9b522
created: 2026-06-25T13:51:55+02:00
size: 106675605 bytes
alembic heads: e9f0a1b2c3d4 (head)
health: GET /state/health -> {"status":"ok","db":"connected"}
registry: docker push succeeded
railiance01: sudo crictl pull gitea.coulomb.social/coulomb/state-hub:b536741 succeeded
```
Smoke command used a temporary container on host port 18082 so it did not
conflict with the live workstation State Hub on port 8000.
## Historical Local Build
Verified local build on 2026-05-15:
@@ -62,11 +85,9 @@ alembic: t7o8p9q0r1s2 (head)
health: GET /state/health -> {"status":"ok","db":"connected"}
```
Smoke command used a temporary container on host port 18000 so it did not
conflict with the live workstation State Hub on port 8000.
## Registry
The registry target for CUST-WP-0011 is the self-hosted Gitea registry, but
publishing remains blocked until the Gitea package/container registry endpoint
is enabled and Docker can authenticate against `/v2/`.
The registry target for CUST-WP-0011 is the self-hosted Gitea registry at
`gitea.coulomb.social/coulomb/state-hub`. As of 2026-06-25, `/v2/` returns the
Docker Registry auth challenge and the `b536741` image tag has been pushed and
pulled from railiance01.