mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 18:01:09 +02:00
feat(cutover): platform services build from ../mana, not from this repo
Part of the 8-Doppel-Cutover (2026-05-08, plan
~/.claude/plans/floating-swinging-flurry.md):
- docker-compose.{macmini,dev,test}.yml: build context for
mana-{auth,credits,media,llm,notify} switched to ../mana/services/...
so the Mac Mini stack pulls platform services from the platform repo
(sibling clone), not from services/ in this monorepo.
- .npmrc + apps/api/{Dockerfile,package.json}: @mana/media-client now
resolved from Verdaccio (npm.mana.how, ^0.1.0) instead of as a
workspace COPY from services/mana-media/packages/client. Build-arg
NPM_TOKEN flows through .npmrc for pnpm install auth. Required
before services/mana-media/ can be deleted.
- .github/workflows/{ci,cd-macmini,daily-tests}.yml: removed the
detect-/build-/test-jobs that targeted services/mana-{auth,credits,
notify,media}/. Those services build out of the platform repo now —
CI for them belongs in mana/-repo (open). cd-macmini's
workflow_dispatch can still rebuild any of them on demand;
auto-detect on path-change is gone for these five.
- scripts/{mac-mini/push-schemas.sh,run-integration-tests.sh}:
rewritten to look in ../mana/ for the platform services.
- package.json dev:{auth,credits,notify,media}: paths point at
../mana/services/... so local dev still works post-cutover.
What this commit does NOT do: delete services/mana-{auth,credits,...}
from this repo. That waits for Phase 7 once the Mac Mini stack has
booted cleanly from the new build paths.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
7b362066bb
commit
774852ba2d
12 changed files with 76 additions and 363 deletions
|
|
@ -204,7 +204,7 @@ services:
|
|||
|
||||
mana-auth:
|
||||
build:
|
||||
context: .
|
||||
context: ../mana
|
||||
dockerfile: services/mana-auth/Dockerfile
|
||||
image: mana-auth:local
|
||||
container_name: mana-auth
|
||||
|
|
@ -270,7 +270,7 @@ services:
|
|||
|
||||
mana-credits:
|
||||
build:
|
||||
context: .
|
||||
context: ../mana
|
||||
dockerfile: services/mana-credits/Dockerfile
|
||||
image: mana-credits:local
|
||||
container_name: mana-credits
|
||||
|
|
@ -635,7 +635,7 @@ services:
|
|||
|
||||
mana-notify:
|
||||
build:
|
||||
context: .
|
||||
context: ../mana
|
||||
dockerfile: services/mana-notify/Dockerfile
|
||||
image: mana-notify:local
|
||||
container_name: mana-core-notify
|
||||
|
|
@ -726,7 +726,7 @@ services:
|
|||
|
||||
mana-media:
|
||||
build:
|
||||
context: services/mana-media/apps/api
|
||||
context: ../mana/services/mana-media/apps/api
|
||||
image: mana-media:local
|
||||
container_name: mana-core-media
|
||||
restart: always
|
||||
|
|
@ -1090,7 +1090,7 @@ services:
|
|||
|
||||
mana-llm:
|
||||
build:
|
||||
context: ./services/mana-llm
|
||||
context: ../mana/services/mana-llm
|
||||
dockerfile: Dockerfile
|
||||
container_name: mana-service-llm
|
||||
restart: unless-stopped
|
||||
|
|
@ -1278,6 +1278,12 @@ services:
|
|||
build:
|
||||
context: .
|
||||
dockerfile: apps/api/Dockerfile
|
||||
args:
|
||||
# Verdaccio-Token zum Pullen von @mana/media-client (und künftiger
|
||||
# Plattform-Pakete). Auf dem Mac-Mini kommt aus `.env.macmini`,
|
||||
# in CI aus `secrets.NPM_AUTH_TOKEN`. Setzt die `.npmrc`-
|
||||
# Variable `${NPM_TOKEN}` zur Build-Zeit.
|
||||
NPM_TOKEN: ${NPM_AUTH_TOKEN:-${NPM_TOKEN:-}}
|
||||
image: mana-api:local
|
||||
container_name: mana-api
|
||||
restart: always
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue