🔧 fix: SSH-Key base64-Dekodierung in Pipeline korrigiert
ci/woodpecker/push/woodpecker Pipeline was successful Details

 PROBLEM IDENTIFIZIERT:
- SSH Secret wurde base64-encoded in Woodpecker API gespeichert
- Pipeline verwendete direkt: echo "$PRODUCTION_SSH_KEY" > ~/.ssh/pp1l_prod_key
- Resultat: Binary/encoded SSH-Key verursachte 'error in libcrypto'

 LÖSUNG:
- Pipeline dekodiert jetzt SSH-Key: echo "$PRODUCTION_SSH_KEY" | base64 -d > ~/.ssh/pp1l_prod_key
- Beide SSH-Key-Load-Stellen in minecraft_integration_test + production_environment_test korrigiert

🎮 ERWARTUNG:
- SSH-Key wird korrekt als OpenSSH Private Key geladen
- Alpine Linux CI kann SSH-Key interpretieren
- ECHTE Minecraft Tests funktionieren endlich
This commit is contained in:
Automation Admin 2025-08-15 12:04:51 +00:00
parent 511a91287e
commit d3ad59b761
1 changed files with 2 additions and 2 deletions

View File

@ -213,7 +213,7 @@ steps:
- echo "1. SSH-Key Setup für Minecraft Test"
- mkdir -p ~/.ssh
- if [ -n "$PRODUCTION_SSH_KEY" ]; then
- echo "$PRODUCTION_SSH_KEY" > ~/.ssh/pp1l_prod_key
- echo "$PRODUCTION_SSH_KEY" | base64 -d > ~/.ssh/pp1l_prod_key
- chmod 600 ~/.ssh/pp1l_prod_key
- echo "Host prod-env" > ~/.ssh/config
- echo " HostName 10.88.7.60" >> ~/.ssh/config
@ -290,7 +290,7 @@ steps:
- mkdir -p ~/.ssh
- if [ -n "$PRODUCTION_SSH_KEY" ]; then
- echo "✅ SSH-Key aus CI Secrets verfügbar"
- echo "$PRODUCTION_SSH_KEY" > ~/.ssh/pp1l_prod_key
- echo "$PRODUCTION_SSH_KEY" | base64 -d > ~/.ssh/pp1l_prod_key
- chmod 600 ~/.ssh/pp1l_prod_key
- echo "Host prod-env" > ~/.ssh/config
- echo " HostName 10.88.7.60" >> ~/.ssh/config