Skip to content

Commit

Permalink
Increase timeout in e2e job
Browse files Browse the repository at this point in the history
  • Loading branch information
LionelJouin committed Mar 14, 2024
1 parent 489cb55 commit bcadfb7
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions hack/e2e-kind-cluster-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -xe

CNI_VERSION=${CNI_VERSION:-0.4.0}
OCI_BIN=${OCI_BIN:-docker}
IMG_REGISTRY=${IMAGE_REGISTRY:-localhost:5000/k8snetworkplumbingwg}
IMG_REGISTRY=${IMAGE_REGISTRY:-localhost:5000}
IMG_TAG="latest"

start_registry_container() {
Expand All @@ -25,7 +25,9 @@ setup_cluster() {
push_local_image() {
OCI_BIN="$OCI_BIN" IMAGE_REGISTRY="$IMG_REGISTRY" IMAGE_TAG="$IMG_TAG" make manifests
OCI_BIN="$OCI_BIN" IMAGE_REGISTRY="$IMG_REGISTRY" IMAGE_TAG="$IMG_TAG" make img-build
"$OCI_BIN" push "$IMG_REGISTRY/multus-dynamic-networks-controller:$IMG_TAG"
# "$OCI_BIN" push "$IMG_REGISTRY/multus-dynamic-networks-controller:$IMG_TAG"
kind load docker-image $IMG_REGISTRY/multus-dynamic-networks-controller:$IMG_TAG
sleep 5
}

cleanup() {
Expand All @@ -39,4 +41,9 @@ start_registry_container
setup_cluster
push_local_image
kubectl apply -f manifests/dynamic-networks-controller.yaml
sleep 2

kubectl get pods --all-namespaces -o wide
kubectl describe pods -n kube-system

kubectl wait -nkube-system --for=condition=ready --timeout=180s -l app=dynamic-networks-controller pods

0 comments on commit bcadfb7

Please sign in to comment.