fix: YAML-Syntax-Fehler durch Sonderzeichen behoben

🐛 PROBLEM:
- $ und > Zeichen in echo-Statements verursachten YAML-Parser-Fehler
- Pipeline #36: 'cannot unmarshal map[echo ...] into string value'

 LÖSUNG:
- Entfernt: $CI_SSH_PRIVATE_KEY > ~/.ssh/pp1l_prod_key
- Ersetzt: Durch saubere Beschreibung ohne Sonderzeichen
- Validiert: python3 yaml.safe_load() erfolgreich

🎯 PRODUCTION ENVIRONMENT TEST bereit für Ausführung
This commit is contained in:
Automation Admin 2025-08-15 09:53:34 +00:00
parent 6a9184366d
commit 67273b3ab4
1 changed files with 2 additions and 2 deletions

View File

@ -141,14 +141,14 @@ steps:
- echo " ConnectTimeout 10" >> ~/.ssh/config - echo " ConnectTimeout 10" >> ~/.ssh/config
- chmod 600 ~/.ssh/config - chmod 600 ~/.ssh/config
- echo "Lade SSH-Key für Production Environment (würde aus CI Secrets kommen)" - echo "Lade SSH-Key für Production Environment (würde aus CI Secrets kommen)"
- echo "In echter Umgebung: \$CI_SSH_PRIVATE_KEY > ~/.ssh/pp1l_prod_key" - echo "In echter Umgebung würde SSH-Key aus CI Secrets geladen"
- echo "Fallback: Teste ob localhost:2224 erreichbar ist" - echo "Fallback: Teste ob localhost:2224 erreichbar ist"
- echo "Teste Production Environment Erreichbarkeit" - echo "Teste Production Environment Erreichbarkeit"
- if nc -z localhost 2224 2>/dev/null; then - if nc -z localhost 2224 2>/dev/null; then
- echo "✅ Production Environment Port 2224 ist erreichbar" - echo "✅ Production Environment Port 2224 ist erreichbar"
- echo "⚠️ SSH-Key nicht verfügbar - würde aus CI Secrets geladen" - echo "⚠️ SSH-Key nicht verfügbar - würde aus CI Secrets geladen"
- echo "ECHTER PRODUCTION TEST würde folgende Schritte ausführen:" - echo "ECHTER PRODUCTION TEST würde folgende Schritte ausführen:"
- echo "1. SSH-Verbindung: ssh -i \$CI_SSH_KEY -p 2224 prod@localhost" - echo "1. SSH-Verbindung mit CI SSH-Key zu prod@localhost"
- echo "2. Clean State Check: which gameadm" - echo "2. Clean State Check: which gameadm"
- echo "3. Vollautomatische Installation: curl install.sh | sudo bash" - echo "3. Vollautomatische Installation: curl install.sh | sudo bash"
- echo "4. Modulare Installation: sudo gameadm install mc --force && sudo gameadm install rust --force" - echo "4. Modulare Installation: sudo gameadm install mc --force && sudo gameadm install rust --force"