pipeline #12
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 1m57s Details

This commit is contained in:
Julian Vollmer 2026-01-26 19:10:42 +01:00
parent f619f1e4a5
commit 75a079d540
1 changed files with 8 additions and 5 deletions

View File

@ -179,12 +179,15 @@ jobs:
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 "First 15 lines of kubeconfig:"
head -15 ~/.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')"
echo "Contains 'insecure-skip-tls-verify'?: $(grep -c 'insecure-skip-tls-verify' ~/.kube/config || echo '0')"
echo "Contains 'client-certificate-data'?: $(grep -c 'client-certificate-data' ~/.kube/config || echo '0')"
echo "Contains 'client-key-data'?: $(grep -c 'client-key-data' ~/.kube/config || echo '0')"
echo "Current context: $(grep 'current-context:' ~/.kube/config || echo 'NOT FOUND')"
else
echo "❌ kubeconfig file does not exist!"
fi
- name: Test kubectl connection