Harte Regeln (Ampel-Pflicht, Spec-Stopp, deploy.sh-only, keine
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:
@@ -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}}'"
|
||||
Reference in New Issue
Block a user