docs: record superproject implementation
This commit is contained in:
16
migration.md
16
migration.md
@@ -337,3 +337,19 @@ trade-infra/
|
||||
- ingest ticków (`trade-ingestor` → `trade-api`).
|
||||
|
||||
Uwaga: lokalnie repo nie ma historii commitów, więc refaktor będzie startem „od zera” w nowych repo (initial commit per subrepo).
|
||||
|
||||
### Status wdrożenia (superproject)
|
||||
|
||||
- Subrepo mają już initial import i są dostępne na Gitei:
|
||||
- `trade/trade-api`
|
||||
- `trade/trade-ingestor`
|
||||
- `trade/trade-frontend`
|
||||
- `trade/trade-doc`
|
||||
- Superproject `trade/trade-infra` jest utworzony i zawiera `.gitmodules` + submodules (w tym `trade/trade-deploy`).
|
||||
- Argo CD nadal śledzi `trade/trade-deploy` (bez zmian w klastrze).
|
||||
|
||||
Klonowanie superproject:
|
||||
|
||||
```bash
|
||||
git clone --recurse-submodules https://rv32i.pl/trade/trade-infra.git
|
||||
```
|
||||
|
||||
14
steps.md
14
steps.md
@@ -214,3 +214,17 @@ Uwaga: **nie zapisuję sekretów** (hasła, tokeny, prywatne klucze) – jeśli
|
||||
- Zaproponowano `trade/trade-infra` jako repo główne (superproject) spinające subrepo (API/ingestor/frontend/deploy/doc).
|
||||
- Plan refaktoru opisany w `doc/migration.md` (sekcja „Metoda superproject”).
|
||||
- Użytkownik zaakceptował `trade/trade-infra` jako superproject; do decyzji pozostało: `submodules` vs `subtree` (rekomendacja: submodules, jeśli chcemy zachować niezależne repo + pinowanie wersji).
|
||||
|
||||
### Superproject: implementacja (git submodules)
|
||||
- Przygotowano i wypchnięto initial commity do subrepo:
|
||||
- `trade/trade-api`
|
||||
- `trade/trade-ingestor`
|
||||
- `trade/trade-frontend`
|
||||
- `trade/trade-doc` (to repo)
|
||||
- Utworzono `trade/trade-infra` jako superproject i dodano submodules:
|
||||
- `api/` → `trade/trade-api`
|
||||
- `frontend/` → `trade/trade-frontend`
|
||||
- `ingestor/` → `trade/trade-ingestor`
|
||||
- `deploy/` → `trade/trade-deploy`
|
||||
- `doc/` → `trade/trade-doc`
|
||||
- Do push użyto tokena repo-scope wygenerowanego w podzie Gitei; token zapisany lokalnie w `gitea/token` (gitignored), wartość nie jest logowana.
|
||||
|
||||
Reference in New Issue
Block a user