Skip to content

Commit

Permalink
fixup! pull external target image before test harness starts
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Jun 20, 2023
1 parent 8399145 commit 1e7c631
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions repeated-integration-tests.bash
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ if [ -z "${ITEST_IMG_VERSION}" ]; then
ITEST_IMG_VERSION="${ITEST_IMG_VERSION,,}" # lowercase
fi

if [ -z "${DISCOVERY_TARGET_IMAGE}" ]; then
DISCOVERY_TARGET_IMAGE="$(getProperty properties/cryostat.itest.discovery.target.image)"
fi

if [ -z "${PULL_IMAGES}" ]; then
PULL_IMAGES="always"
fi
Expand All @@ -46,6 +50,7 @@ STARTFLAGS=(
"-DfailIfNoTests=true"
"-Dcryostat.imageVersion=${ITEST_IMG_VERSION}"
"-Dcryostat.itest.pullImages=${PULL_IMAGES}"
"-Dcryostat.itest.discovery.target.image=${DISCOVERY_TARGET_IMAGE}"
"build-helper:regex-property@image-tag-to-lower"
"exec:exec@print-podman-version"
"exec:exec@print-podman-info"
Expand Down

0 comments on commit 1e7c631

Please sign in to comment.