Skip to content

Commit 8807e64

Browse files
feat: precommit fix
1 parent 558ae4d commit 8807e64

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/e2e.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -96,20 +96,20 @@ jobs:
9696
run: |
9797
echo "Collecting pod logs from bootstrap cluster..."
9898
mkdir -p bootstrap-pod-logs
99-
99+
100100
# Get kubeconfig path for bootstrap cluster
101101
BOOTSTRAP_KUBECONFIG=$(find _artifacts/clusters/bootstrap -name kubeconfig 2>/dev/null | head -n 1)
102-
102+
103103
if [[ -n "$BOOTSTRAP_KUBECONFIG" ]]; then
104104
export KUBECONFIG="$BOOTSTRAP_KUBECONFIG"
105-
105+
106106
# Get all pods overview
107107
kubectl get pods -A -o wide > bootstrap-pod-logs/all-pods.txt 2>&1 || echo "Failed to get pods" > bootstrap-pod-logs/all-pods.txt
108-
108+
109109
# Get CAREN controller logs (main focus)
110110
echo "Collecting CAREN controller logs..."
111111
kubectl logs -n caren-system -l app.kubernetes.io/name=cluster-api-runtime-extensions-nutanix --all-containers=true --tail=1000 > bootstrap-pod-logs/caren-controller.log 2>&1 || echo "Failed to get CAREN logs" > bootstrap-pod-logs/caren-controller.log
112-
112+
113113
# Get all CAPI provider logs
114114
echo "Collecting CAPI provider logs..."
115115
for ns in capi-system capi-kubeadm-bootstrap-system capi-kubeadm-control-plane-system capd-system capn-system capa-system caaph-system; do
@@ -122,7 +122,7 @@ jobs:
122122
done
123123
fi
124124
done
125-
125+
126126
# Get HelmReleaseProxy and HelmChartProxy resources
127127
echo "Collecting Helm addon resources..."
128128
kubectl get helmreleaseproxies -A -o yaml > bootstrap-pod-logs/helmreleaseproxies.yaml 2>&1 || true

0 commit comments

Comments
 (0)