Skip to content

Commit

Permalink
e2e job: load image in kind
Browse files Browse the repository at this point in the history
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
  • Loading branch information
LionelJouin committed Mar 14, 2024
1 parent 489cb55 commit 8251fc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hack/e2e-kind-cluster-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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() {
Expand Down

0 comments on commit 8251fc4

Please sign in to comment.