pipeline #11
Build, Push and Deploy Florale Emotion Website / feature-branch (push) Has been skipped Details
Build, Push and Deploy Florale Emotion Website / production-branch (push) Failing after 2m9s Details

This commit is contained in:
Julian Vollmer 2026-01-26 18:25:07 +01:00
parent 72d93baa19
commit f619f1e4a5
1 changed files with 16 additions and 0 deletions

View File

@ -172,9 +172,25 @@ jobs:
echo "✅ TLS configuration completed"
- name: Debug kubeconfig before kubectl test
run: |
echo "🔍 Final kubeconfig debug before kubectl test..."
echo "File exists: $(test -f ~/.kube/config && echo 'YES' || echo 'NO')"
echo "File size: $(wc -c < ~/.kube/config 2>/dev/null || echo '0') bytes"
if [ -f ~/.kube/config ]; then
echo "First 10 lines of kubeconfig:"
head -10 ~/.kube/config
echo "---"
echo "Contains 'apiVersion'?: $(grep -c 'apiVersion' ~/.kube/config || echo '0')"
echo "Contains 'clusters'?: $(grep -c 'clusters:' ~/.kube/config || echo '0')"
echo "Contains 'users'?: $(grep -c 'users:' ~/.kube/config || echo '0')"
fi
- name: Test kubectl connection
run: |
kubectl version --client
echo "Testing cluster connection..."
kubectl get nodes
- name: Deploy Feature Branch