Skip to content

Commit

Permalink
CI: Debug openkruise installtion
Browse files Browse the repository at this point in the history
Signed-off-by: Cyclinder Kuo <[email protected]>
  • Loading branch information
cyclinder committed Jan 6, 2025
1 parent 5e1ebef commit fe2b8ce
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -225,10 +225,12 @@ setup_kruise:
docker pull $${IMAGE} ; \
kind load docker-image $${IMAGE} --name $(E2E_CLUSTER_NAME); \
done; \
HELM_OPTION=" --wait --timeout 20m --debug --set manager.image.repository=$(E2E_OPENKRUISE_IMAGE) " ; \
HELM_OPTION=" --wait --timeout 5m --debug --set manager.image.repository=$(E2E_OPENKRUISE_IMAGE) " ; \
HELM_OPTION+=" --version $(E2E_OPENKRUISE_VERSION) " ; \
helm upgrade --install kruise openkruise/kruise $${HELM_OPTION} \
--kubeconfig $(E2E_KUBECONFIG) || { \
echo "error, failed to install openkruise" ; \
kubectl get pods -n kruise-system --kubeconfig $(E2E_KUBECONFIG) ; \
kubectl describe pod -n kruise-system --kubeconfig $(E2E_KUBECONFIG) ; \
KIND_CLUSTER_NAME=$(E2E_CLUSTER_NAME) ./scripts/debugEnv.sh $(E2E_KUBECONFIG) "detail" "$(E2E_LOG_FILE)" ; exit 1 ; \
} ; \
Expand Down

0 comments on commit fe2b8ce

Please sign in to comment.