e2e: Temporarily bump kubectl wait timeout from 10 mins to 20 mins

This commit is contained in:
Nils Hanke 2023-03-11 08:15:31 +01:00 committed by Nils Hanke
parent c1112addff
commit de86bb025f

View File

@ -194,6 +194,7 @@ runs:
echo "KUBECONFIG=$(pwd)/constellation-admin.conf" >> $GITHUB_OUTPUT echo "KUBECONFIG=$(pwd)/constellation-admin.conf" >> $GITHUB_OUTPUT
echo "MASTERSECRET=$(pwd)/constellation-mastersecret.json" >> $GITHUB_OUTPUT echo "MASTERSECRET=$(pwd)/constellation-mastersecret.json" >> $GITHUB_OUTPUT
# TODO(nirusu): Temporarily increase kubectl wait timeout here - might be related to all the Cilium / cert-manager issues?
- name: Wait for nodes to join and become ready - name: Wait for nodes to join and become ready
shell: bash shell: bash
env: env:
@ -214,7 +215,13 @@ runs:
exit 1 exit 1
fi fi
echo "$(kubectl get nodes -o json | jq '.items | length')/"${NODES_COUNT}" nodes have joined" echo "$(kubectl get nodes -o json | jq '.items | length')/"${NODES_COUNT}" nodes have joined"
kubectl wait --for=condition=ready --all nodes --timeout=10m kubectl wait --for=condition=ready --all nodes --timeout=20m
kubectlErrorCode=$?
if [[ "${kubectlErrorCode}" -ne 0 ]]; then
kubectl get pods -n kube-system
kubectl get events -n kube-system
exit "${kubectlErrorCode}"
fi
echo "::endgroup::" echo "::endgroup::"
- name: Download boot logs - name: Download boot logs