Harte Regeln (Ampel-Pflicht, Spec-Stopp, deploy.sh-only, keine
CI / ui (push) Failing after 13m34s
CI / api-und-worker (push) Failing after 14m28s

erfundenen APIs) + idempotentes deploy.sh

Lehren aus dem Review 22.07.: stille MakeMKV->HandBrake-Abweichung,
Doppel-Anlage auf der VM, halluzinierte Celery/abcde-Schnittstellen.
This commit is contained in:
Hitonabi
2026-07-22 18:59:53 +02:00
parent be7f615a4b
commit 57bda55af4
2 changed files with 33 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
#!/usr/bin/env bash
# EINZIGER Deploy-Weg für Rippy (Regel C in AGENTS.md, seit 22.07.2026).
# Idempotent: EIN Compose-Projektname (rippy), EIN Pfad auf der VM.
# Nie freihändig per SSH bauen — genau daraus entstand die Doppel-Anlage
# Rippy/rippy am 21.07.
set -euo pipefail
VM="arcane@192.168.178.162"
PFAD="~/projects/rippy"
DIENST="${1:-}" # optional: nur einen Dienst neu bauen, z.B. ./deploy.sh rippy-ui
ssh "$VM" "cd $PFAD \
&& git pull --ff-only origin main \
&& docker compose -p rippy up -d --build $DIENST \
&& docker compose -p rippy ps --format 'table {{.Name}}\t{{.Status}}'"