From 8251fc4869266e0752e885bfb3fe2df45991a285 Mon Sep 17 00:00:00 2001 From: Lionel Jouin Date: Tue, 12 Mar 2024 23:55:50 +0100 Subject: [PATCH] e2e job: load image in kind The Multus e2e environment is no longer using the local registry. The image is now loaded. The tag has been set to e2e so there is no conflict if the ImagePullPolicy is not set --- hack/e2e-kind-cluster-setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/e2e-kind-cluster-setup.sh b/hack/e2e-kind-cluster-setup.sh index f8fe52ea..f94e266e 100755 --- a/hack/e2e-kind-cluster-setup.sh +++ b/hack/e2e-kind-cluster-setup.sh @@ -4,7 +4,7 @@ set -xe CNI_VERSION=${CNI_VERSION:-0.4.0} OCI_BIN=${OCI_BIN:-docker} IMG_REGISTRY=${IMAGE_REGISTRY:-localhost:5000/k8snetworkplumbingwg} -IMG_TAG="latest" +IMG_TAG="e2e" start_registry_container() { pushd multus-cni @@ -25,7 +25,7 @@ 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" + kind load docker-image $IMG_REGISTRY/multus-dynamic-networks-controller:$IMG_TAG } cleanup() {