chore: remove all gitea remote references; single origin push only
Some checks failed
Build + Deploy / build-admin-compliance (push) Failing after 45s
Build + Deploy / build-backend-compliance (push) Successful in 13s
Build + Deploy / build-ai-sdk (push) Successful in 40s
Build + Deploy / build-developer-portal (push) Successful in 12s
Build + Deploy / build-tts (push) Successful in 11s
Build + Deploy / build-document-crawler (push) Successful in 14s
Build + Deploy / build-dsms-gateway (push) Successful in 12s
Build + Deploy / trigger-orca (push) Has been skipped
CI/CD / loc-budget (push) Successful in 21s
CI/CD / guardrail-integrity (push) Has been skipped
CI/CD / go-lint (push) Has been skipped
CI/CD / python-lint (push) Has been skipped
CI/CD / nodejs-lint (push) Has been skipped
CI/CD / test-go-ai-compliance (push) Successful in 48s
CI/CD / test-python-backend-compliance (push) Failing after 38s
CI/CD / test-python-document-crawler (push) Successful in 31s
CI/CD / test-python-dsms-gateway (push) Successful in 27s
CI/CD / sbom-scan (push) Has been skipped
CI/CD / validate-canonical-controls (push) Successful in 19s
Some checks failed
Build + Deploy / build-admin-compliance (push) Failing after 45s
Build + Deploy / build-backend-compliance (push) Successful in 13s
Build + Deploy / build-ai-sdk (push) Successful in 40s
Build + Deploy / build-developer-portal (push) Successful in 12s
Build + Deploy / build-tts (push) Successful in 11s
Build + Deploy / build-document-crawler (push) Successful in 14s
Build + Deploy / build-dsms-gateway (push) Successful in 12s
Build + Deploy / trigger-orca (push) Has been skipped
CI/CD / loc-budget (push) Successful in 21s
CI/CD / guardrail-integrity (push) Has been skipped
CI/CD / go-lint (push) Has been skipped
CI/CD / python-lint (push) Has been skipped
CI/CD / nodejs-lint (push) Has been skipped
CI/CD / test-go-ai-compliance (push) Successful in 48s
CI/CD / test-python-backend-compliance (push) Failing after 38s
CI/CD / test-python-document-crawler (push) Successful in 31s
CI/CD / test-python-dsms-gateway (push) Successful in 27s
CI/CD / sbom-scan (push) Has been skipped
CI/CD / validate-canonical-controls (push) Successful in 19s
There is only one remote (origin). Removed all occurrences of:
- git push gitea / git push origin main && git push gitea main
- "Pushing to gitea (external)" in deploy.sh
- # gitea: git@gitea.meghsakha.com:... remote comment in docs-src/index.md
- "Push auf gitea triggert" → "Push auf origin triggert" in docs
- Clone URL updated to ssh://git@coolify.meghsakha.com:22222/... in
README.md and CONTRIBUTING.md
Web UI URLs (gitea.meghsakha.com/...) are unchanged — those are still valid.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -47,7 +47,7 @@ Add the marker anywhere in the commit message body or footer — the CI job does
|
||||
|--------|-------|----------|
|
||||
| **MacBook** | Entwicklung | Claude Terminal, Code-Entwicklung, Browser (Frontend-Tests) |
|
||||
| **Mac Mini** | Lokaler Server | Docker fuer lokale Dev/Tests (NICHT fuer Production!) |
|
||||
| **Orca** | Production | Automatisches Build + Deploy bei Push auf gitea |
|
||||
| **Orca** | Production | Automatisches Build + Deploy bei Push auf origin |
|
||||
|
||||
**WICHTIG:** Code wird auf dem MacBook bearbeitet. Production-Deployment laeuft automatisch ueber Orca.
|
||||
|
||||
@@ -55,10 +55,10 @@ Add the marker anywhere in the commit message body or footer — the CI job does
|
||||
|
||||
```bash
|
||||
# 1. Code auf MacBook bearbeiten (dieses Verzeichnis)
|
||||
# 2. Committen und zu BEIDEN Remotes pushen:
|
||||
# 2. Committen und pushen:
|
||||
git push origin main
|
||||
|
||||
# 3. FERTIG! Push auf gitea triggert automatisch:
|
||||
# 3. FERTIG! Push auf origin triggert automatisch:
|
||||
# - Gitea Actions: Lint → Tests → Validierung
|
||||
# - Orca: Build → Deploy
|
||||
# Dauer: ca. 3 Minuten
|
||||
@@ -68,9 +68,9 @@ git push origin main
|
||||
**NICHT MEHR NOETIG:** Manuelles `ssh macmini "docker compose build"` fuer Production.
|
||||
**NIEMALS** manuell in Orca auf "Redeploy" klicken — Gitea Actions triggert Orca automatisch.
|
||||
|
||||
### Post-Push Deploy-Monitoring (PFLICHT nach jedem Push auf gitea)
|
||||
### Post-Push Deploy-Monitoring (PFLICHT nach jedem Push)
|
||||
|
||||
**IMMER wenn Claude auf gitea pusht, MUSS danach automatisch das Deploy-Monitoring laufen:**
|
||||
**IMMER wenn Claude auf origin pusht, MUSS danach automatisch das Deploy-Monitoring laufen:**
|
||||
|
||||
1. Dem User sofort mitteilen: "Deploy gestartet, ich ueberwache den Status..."
|
||||
2. Im Hintergrund Health-Checks pollen (alle 20 Sekunden, max 5 Minuten):
|
||||
@@ -94,7 +94,7 @@ git push origin main
|
||||
### CI/CD Pipeline (Gitea Actions → Orca)
|
||||
|
||||
```
|
||||
Push auf gitea main → go-lint/python-lint/nodejs-lint (nur PRs)
|
||||
Push auf origin main → go-lint/python-lint/nodejs-lint (nur PRs)
|
||||
→ test-go-ai-compliance
|
||||
→ test-python-backend-compliance
|
||||
→ test-python-document-crawler
|
||||
@@ -271,12 +271,10 @@ curl -sf https://sdk-dev.breakpilot.ai/health
|
||||
### Git
|
||||
|
||||
```bash
|
||||
# Zu BEIDEN Remotes pushen (PFLICHT! — vom MacBook):
|
||||
git push origin main
|
||||
|
||||
# Remotes:
|
||||
# origin: lokale Gitea (macmini:3003)
|
||||
|
||||
# Remote:
|
||||
# origin: ssh://git@coolify.meghsakha.com:22222/Benjamin_Boenisch/breakpilot-compliance.git
|
||||
```
|
||||
|
||||
### Lokale Docker-Befehle (Mac Mini — nur fuer Dev/Tests)
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
## 1. Getting Started
|
||||
|
||||
```bash
|
||||
git clone https://gitea.meghsakha.com/Benjamin_Boenisch/breakpilot-compliance.git
|
||||
git clone ssh://git@coolify.meghsakha.com:22222/Benjamin_Boenisch/breakpilot-compliance.git
|
||||
cd breakpilot-compliance
|
||||
git checkout coolify # always base work off coolify, NOT main
|
||||
```
|
||||
|
||||
@@ -46,7 +46,7 @@ All containers share the external `breakpilot-network` Docker network and depend
|
||||
**Prerequisites:** Docker, Go 1.24+, Python 3.12+, Node.js 20+
|
||||
|
||||
```bash
|
||||
git clone https://gitea.meghsakha.com/Benjamin_Boenisch/breakpilot-compliance.git
|
||||
git clone ssh://git@coolify.meghsakha.com:22222/Benjamin_Boenisch/breakpilot-compliance.git
|
||||
cd breakpilot-compliance
|
||||
|
||||
# Copy and populate secrets (never commit .env)
|
||||
@@ -71,10 +71,10 @@ Work on the `coolify` branch. Push to **both** remotes to trigger CI and deploy:
|
||||
```bash
|
||||
git checkout coolify
|
||||
# ... make changes ...
|
||||
git push origin coolify && git push gitea coolify
|
||||
git push origin coolify
|
||||
```
|
||||
|
||||
Push to `gitea` triggers:
|
||||
Push to `origin` triggers:
|
||||
1. **Gitea Actions** — lint → test → validate (see CI Pipeline below)
|
||||
2. **Coolify** — automatic build + deploy (~3 min total)
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ go build -o server ./cmd/server
|
||||
./server --config config.yaml
|
||||
|
||||
# Production: CI/CD (automatisch bei Push auf main)
|
||||
git push origin main && git push gitea main
|
||||
git push origin main
|
||||
# → Gitea Actions: Tests → Build → Deploy auf Orca
|
||||
# → Status: https://gitea.meghsakha.com/Benjamin_Boenisch/breakpilot-compliance/actions
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ Uebersicht ueber den Deployment-Prozess fuer BreakPilot Compliance.
|
||||
│ ├── developer-portal/ (Next.js) │
|
||||
│ └── docs-src/ (MkDocs) │
|
||||
│ │
|
||||
│ git push origin main && git push gitea main │
|
||||
│ git push origin main │
|
||||
└───────────────────────────────┬─────────────────────────────────┘
|
||||
│
|
||||
│ git push
|
||||
@@ -63,12 +63,12 @@ Uebersicht ueber den Deployment-Prozess fuer BreakPilot Compliance.
|
||||
```bash
|
||||
# Code auf MacBook bearbeiten
|
||||
# Committen und zu beiden Remotes pushen:
|
||||
git push origin main && git push gitea main
|
||||
git push origin main
|
||||
```
|
||||
|
||||
### 2. Automatische Tests (Gitea Actions)
|
||||
|
||||
Push auf gitea triggert automatisch die CI-Pipeline:
|
||||
Push auf origin triggert automatisch die CI-Pipeline:
|
||||
|
||||
- **Go Tests:** `ai-compliance-sdk` Unit Tests
|
||||
- **Python Tests:** `backend-compliance`, `document-crawler`, `dsms-gateway`
|
||||
|
||||
@@ -207,7 +207,7 @@ Runtime-Betrieb: Qdrant-RAG für semantische Suche, Chat, Scope-Analyse
|
||||
2. Mac Mini: Control-Generierung → PostgreSQL (shared, 46.225.100.82:54321)
|
||||
3. QA: PDF-Match, Dedup, Source-Normalisierung
|
||||
4. Qdrant Migration: macmini:6333 → qdrant-dev.breakpilot.ai (scripts/migrate-qdrant.py)
|
||||
5. Deploy: git push gitea → Orca Build + Deploy
|
||||
5. Deploy: → Orca Build + Deploy
|
||||
```
|
||||
|
||||
**WICHTIG:** PostgreSQL ist SHARED — Änderungen auf Mac Mini sind sofort in Production sichtbar. Qdrant hat getrennte Instanzen (lokal + production) und muss manuell synchronisiert werden.
|
||||
|
||||
@@ -92,7 +92,7 @@ Module die Compliance-Kunden im SDK sehen und nutzen:
|
||||
|
||||
```bash
|
||||
# Production (Orca — Standardweg):
|
||||
git push origin main && git push gitea main
|
||||
git push origin main
|
||||
# Orca baut und deployt automatisch.
|
||||
|
||||
# Lokal (Mac Mini — nur Dev/Tests):
|
||||
@@ -105,11 +105,11 @@ docker compose -f breakpilot-compliance/docker-compose.yml up -d
|
||||
|
||||
```bash
|
||||
# Zwei Remotes - IMMER zu beiden pushen:
|
||||
git push origin main && git push gitea main
|
||||
git push origin main
|
||||
|
||||
# Remotes:
|
||||
# origin: http://macmini:3003/pilotadmin/breakpilot-compliance.git
|
||||
# gitea: git@gitea.meghsakha.com:Benjamin_Boenisch/breakpilot-compliance.git
|
||||
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
@@ -9,7 +9,7 @@ BACKEND_CONTAINER="bp-compliance-backend"
|
||||
PROJECT_DIR="/Users/benjaminadmin/Projekte/breakpilot-compliance"
|
||||
|
||||
echo "==> Pushing code to Mac Mini..."
|
||||
git push origin main && git push gitea main
|
||||
git push origin main
|
||||
|
||||
echo "==> Pulling code on Mac Mini..."
|
||||
ssh macmini "git -C ${PROJECT_DIR} pull --no-rebase origin main"
|
||||
|
||||
@@ -9,7 +9,7 @@ BACKEND_CONTAINER="bp-compliance-backend"
|
||||
PROJECT_DIR="/Users/benjaminadmin/Projekte/breakpilot-compliance"
|
||||
|
||||
echo "==> Pushing code to Mac Mini..."
|
||||
git push origin main && git push gitea main
|
||||
git push origin main
|
||||
|
||||
echo "==> Pulling code on Mac Mini..."
|
||||
ssh macmini "cd ${PROJECT_DIR} && git pull --no-rebase origin main"
|
||||
|
||||
@@ -9,7 +9,7 @@ BACKEND_CONTAINER="bp-compliance-backend"
|
||||
PROJECT_DIR="/Users/benjaminadmin/Projekte/breakpilot-compliance"
|
||||
|
||||
echo "==> Pushing code to Mac Mini..."
|
||||
git push origin main && git push gitea main
|
||||
git push origin main
|
||||
|
||||
echo "==> Pulling code on Mac Mini..."
|
||||
ssh macmini "cd ${PROJECT_DIR} && git pull --no-rebase origin main"
|
||||
|
||||
@@ -9,7 +9,7 @@ BACKEND_CONTAINER="bp-compliance-backend"
|
||||
PROJECT_DIR="/Users/benjaminadmin/Projekte/breakpilot-compliance"
|
||||
|
||||
echo "==> Pushing code to Mac Mini..."
|
||||
git push origin main && git push gitea main
|
||||
git push origin main
|
||||
|
||||
echo "==> Pulling code on Mac Mini..."
|
||||
ssh macmini "cd ${PROJECT_DIR} && git pull --no-rebase origin main"
|
||||
|
||||
@@ -49,15 +49,11 @@ ok() { printf "\033[1;32m[OK]\033[0m %s\n" "$*"; }
|
||||
warn() { printf "\033[1;33m[WARN]\033[0m %s\n" "$*"; }
|
||||
fail() { printf "\033[1;31m[FAIL]\033[0m %s\n" "$*"; }
|
||||
|
||||
# --- Step 1: Push to both remotes ---
|
||||
info "Pushing to origin (local Gitea)..."
|
||||
# --- Step 1: Push to origin ---
|
||||
info "Pushing to origin..."
|
||||
git push origin main
|
||||
ok "Pushed to origin."
|
||||
|
||||
info "Pushing to gitea (external)..."
|
||||
git push gitea main
|
||||
ok "Pushed to gitea."
|
||||
|
||||
# --- Step 2: Detect changed services ---
|
||||
info "Detecting changed services since last deploy..."
|
||||
|
||||
@@ -92,7 +88,7 @@ CHANGED_SERVICES=$(echo "${CHANGED_SERVICES}" | tr ' ' '\n' | sort -u | tr '\n'
|
||||
|
||||
if [ -z "${CHANGED_SERVICES}" ]; then
|
||||
warn "No service directories changed. Nothing to rebuild on Mac Mini."
|
||||
info "Coolify will still deploy from the gitea push."
|
||||
info "Orca will still deploy from the origin push."
|
||||
else
|
||||
info "Changed services: ${CHANGED_SERVICES}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user