mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-16 10:39:40 +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
15
.github/workflows/cd-macmini.yml
vendored
15
.github/workflows/cd-macmini.yml
vendored
|
|
@ -118,10 +118,18 @@ jobs:
|
|||
# Service → source paths. One line per compose service. Space-
|
||||
# separated paths are OR'd: any of them matching triggers a rebuild.
|
||||
# Keep names aligned with `docker compose config --services`.
|
||||
#
|
||||
# NOTE 2026-05-08 — 5 Plattform-Services (mana-auth, mana-credits,
|
||||
# mana-notify, mana-media, mana-llm) bauen ab dem Cutover aus
|
||||
# `../mana/services/...`. Ihre Source-Pfade liegen im Schwester-Repo
|
||||
# `mana/` und werden von diesem `git diff` (das nur das Monorepo
|
||||
# sieht) NICHT mehr automatisch erkannt. Manuelles Deploy geht
|
||||
# weiterhin via `workflow_dispatch` mit `service: mana-<x>` —
|
||||
# `docker compose build` zieht dann aus `../mana/`. Für
|
||||
# Auto-Detect bei Plattform-Code-Änderungen gehört ein eigener
|
||||
# CD-Workflow ins `mana/`-Repo (Offener Punkt, Phase 8).
|
||||
SERVICE_SOURCES=(
|
||||
"mana-auth|services/mana-auth/"
|
||||
"mana-ai|services/mana-ai/"
|
||||
"mana-credits|services/mana-credits/"
|
||||
"mana-research|services/mana-research/"
|
||||
"mana-events|services/mana-events/"
|
||||
"mana-geocoding|services/mana-geocoding/"
|
||||
|
|
@ -130,11 +138,8 @@ jobs:
|
|||
"mana-analytics|services/mana-analytics/"
|
||||
"mana-search|services/mana-search/ packages/shared-go/"
|
||||
"mana-sync|services/mana-sync/ packages/shared-go/"
|
||||
"mana-notify|services/mana-notify/ packages/shared-go/"
|
||||
"mana-crawler|services/mana-crawler/ packages/shared-go/"
|
||||
"mana-api-gateway|services/mana-api-gateway/ packages/shared-go/"
|
||||
"mana-media|services/mana-media/"
|
||||
"mana-llm|services/mana-llm/"
|
||||
"mana-landing-builder|services/mana-landing-builder/ packages/shared-landing-ui/ packages/shared-types/"
|
||||
"mana-web|apps/mana/apps/web/ apps/mana/packages/"
|
||||
"mana-api|apps/api/"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue