Skip to content

Commit

Permalink
Merge pull request #2687 from chrischdi/pr-18-drop-image-upload
Browse files Browse the repository at this point in the history
[release-1.8] 🌱 e2e: drop image upload because its not used in any tests
  • Loading branch information
k8s-ci-robot authored Feb 5, 2024
2 parents 776beb1 + 273da6c commit 734a639
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions hack/e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ function login() {
}

AUTH=
E2E_IMAGE_SHA=
GCR_KEY_FILE="${GCR_KEY_FILE:-}"
export VSPHERE_SERVER="${GOVC_URL}"
export VSPHERE_USERNAME="${GOVC_USERNAME}"
Expand Down Expand Up @@ -121,16 +120,5 @@ WORKLOAD_CONTROL_PLANE_ENDPOINT_IP=$(claim_ip "${WORKLOAD_IPCLAIM_NAME}")
export WORKLOAD_CONTROL_PLANE_ENDPOINT_IP
echo "Acquired Workload Cluster Control Plane IP: $WORKLOAD_CONTROL_PLANE_ENDPOINT_IP"

# save the docker image locally
make e2e-image
mkdir -p /tmp/images
docker save gcr.io/k8s-staging-cluster-api/capv-manager:e2e -o "$DOCKER_IMAGE_TAR"

# store the image on gcs
login
E2E_IMAGE_SHA=$(docker inspect --format='{{index .Id}}' gcr.io/k8s-staging-cluster-api/capv-manager:e2e)
export E2E_IMAGE_SHA
gsutil cp ${DOCKER_IMAGE_TAR} gs://capv-ci/"$E2E_IMAGE_SHA"

# Run e2e tests
make e2e

0 comments on commit 734a639

Please sign in to comment.