Skip to content

Commit

Permalink
e2e: build a descheduler image and run the descheduler as a pod
Browse files Browse the repository at this point in the history
  • Loading branch information
ingvagabund committed Jul 21, 2024
1 parent 355cff6 commit 42a5860
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/run-e2e-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ set -o nounset
SKIP_INSTALL=${SKIP_INSTALL:-}
KIND_E2E=${KIND_E2E:-}

# Build a descheduler image
IMAGE_TAG=$(git describe --tags --match v0*)
BASEDIR=$(dirname "$0")
VERSION="${IMAGE_TAG}" make -C ${BASEDIR}/.. image

DESCHEDULER_IMAGE="docker.io/library/descheduler:${IMAGE_TAG}"
echo "DESCHEDULER_IMAGE: ${DESCHEDULER_IMAGE}"

# This just runs e2e tests.
if [ -n "$KIND_E2E" ]; then
# If we did not set SKIP_INSTALL
Expand Down

0 comments on commit 42a5860

Please sign in to comment.