diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 85f5fe4..ccb6039 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -31,6 +31,7 @@ jobs: ai-gateway/go.sum ha-gateway/go.sum discord-bot/go.sum + tts-gateway/go.sum gen/go.sum - name: go vet @@ -39,6 +40,7 @@ jobs: cd ../ai-gateway && go vet ./... cd ../ha-gateway && go vet ./... cd ../discord-bot && go vet ./... + cd ../tts-gateway && go vet ./... - name: go test run: | @@ -46,6 +48,7 @@ jobs: cd ../ai-gateway && go test ./... cd ../ha-gateway && go test ./... cd ../discord-bot && go test ./... + cd ../tts-gateway && go test ./... build-ai-gateway: needs: test diff --git a/CLAUDE.md b/CLAUDE.md index f43e21d..69242e4 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -139,4 +139,4 @@ mutation, and is fine to run. ## CI -`.gitea/workflows/ci.yaml` runs `go vet` and `go test` for all four modules (`gen`, `ai-gateway`, `ha-gateway`, `discord-bot`), then builds and pushes Docker images for the three services on pushes to `main`. +`.gitea/workflows/ci.yaml` runs `go vet` and `go test` for all five modules (`gen`, `ai-gateway`, `ha-gateway`, `discord-bot`, `tts-gateway`), then builds and pushes Docker images for `ai-gateway`, `ha-gateway`, and `discord-bot` on pushes to `main`. `tts-gateway` is deliberately excluded from the build/push step for now — its production image (CUDA base, model artifact distribution, etc.) is a separate decision, not yet made. Note that `ai-gateway/Dockerfile`, `ha-gateway/Dockerfile`, and `discord-bot/Dockerfile` each `COPY` every other service directory (not just their own) because `go.work` lists all five modules as workspace members — Go's workspace-mode module resolution needs every listed directory present in the build context, even ones a given service doesn't otherwise depend on. Adding a new module to `go.work` means adding a matching `COPY` line to the other Dockerfiles too, or their builds break. diff --git a/ai-gateway/Dockerfile b/ai-gateway/Dockerfile index e8a7bc5..39d4988 100644 --- a/ai-gateway/Dockerfile +++ b/ai-gateway/Dockerfile @@ -5,6 +5,7 @@ COPY go.work go.work.sum ./ COPY gen/ ./gen/ COPY ha-gateway/ ./ha-gateway/ COPY discord-bot/ ./discord-bot/ +COPY tts-gateway/ ./tts-gateway/ COPY ai-gateway/ ./ai-gateway/ WORKDIR /workspace/ai-gateway diff --git a/discord-bot/Dockerfile b/discord-bot/Dockerfile index 3c89777..6ee9207 100644 --- a/discord-bot/Dockerfile +++ b/discord-bot/Dockerfile @@ -5,6 +5,7 @@ COPY go.work go.work.sum ./ COPY gen/ ./gen/ COPY ai-gateway/ ./ai-gateway/ COPY ha-gateway/ ./ha-gateway/ +COPY tts-gateway/ ./tts-gateway/ COPY discord-bot/ ./discord-bot/ WORKDIR /workspace/discord-bot diff --git a/ha-gateway/Dockerfile b/ha-gateway/Dockerfile index b11e647..7267034 100644 --- a/ha-gateway/Dockerfile +++ b/ha-gateway/Dockerfile @@ -4,8 +4,9 @@ WORKDIR /workspace COPY go.work go.work.sum ./ COPY gen/ ./gen/ COPY ai-gateway/ ./ai-gateway/ -COPY ha-gateway/ ./ha-gateway/ COPY discord-bot/ ./discord-bot/ +COPY tts-gateway/ ./tts-gateway/ +COPY ha-gateway/ ./ha-gateway/ WORKDIR /workspace/ha-gateway RUN go mod download