Skip to content

Commit

Permalink
Merge pull request #156 from sclorg/add_support_for_test_latest_image…
Browse files Browse the repository at this point in the history
…streams

Add support for testing the latest imagestreams
  • Loading branch information
phracek authored Nov 9, 2023
2 parents 6f94a6d + 897670b commit 14a2721
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/run-openshift-remote-cluster
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ source ${THISDIR}/test-lib-redis.sh
TEST_LIST="\
test_redis_integration
test_redis_imagestream
test_latest_imagestreams
"

trap ct_os_cleanup EXIT SIGINT
Expand Down
8 changes: 8 additions & 0 deletions test/test-lib-redis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,12 @@ function test_redis_imagestream() {
ct_os_test_image_stream_template "${THISDIR}/imagestreams/redis-${OS%[0-9]*}.json" "${THISDIR}/examples/redis-ephemeral-template.json" redis "-p REDIS_VERSION=${VERSION}${tag}"
}

function test_latest_imagestreams() {
info "Testing the latest version in imagestreams"
# Switch to root directory of a container
pushd "${THISDIR}/../.." >/dev/null
ct_check_latest_imagestreams
popd >/dev/null
}

# vim: set tabstop=2:shiftwidth=2:expandtab:

0 comments on commit 14a2721

Please sign in to comment.