Skip to content

Commit c1e95e4

Browse files
authored
Merge pull request #476 from sclorg/support_cvp_rhel9
Support imagestreams for RHEL9
2 parents ae2c741 + d03a6b4 commit c1e95e4

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

common

test/test-lib-postgresql.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,11 @@ function test_postgresql_integration() {
2828

2929
# Check the imagestream
3030
function test_postgresql_imagestream() {
31-
case ${OS} in
32-
rhel7|centos7|rhel8) ;;
33-
*) echo "Imagestream testing not supported for $OS environment." ; return 0 ;;
34-
esac
3531
local tag="-el7"
3632
if [ "${OS}" == "rhel8" ]; then
3733
tag="-el8"
34+
elif [ "${OS}" == "rhel9" ]; then
35+
tag="-el9"
3836
fi
3937
ct_os_test_image_stream_template "${THISDIR}/imagestreams/postgresql-${OS%[0-9]*}.json" "${THISDIR}/examples/postgresql-ephemeral-template.json" postgresql "-p POSTGRESQL_VERSION=${VERSION}${tag}"
4038
}

0 commit comments

Comments
 (0)