File tree Expand file tree Collapse file tree 2 files changed +13
-6
lines changed Expand file tree Collapse file tree 2 files changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -41,9 +41,12 @@ export CT_OCP4_TEST=true
41
41
test -n " ${IMAGE_NAME-} " || false ' make sure $IMAGE_NAME is defined'
42
42
test -n " ${VERSION-} " || false ' make sure $VERSION is defined'
43
43
44
-
45
- TEST_SUMMARY=' '
46
- TEST_SET=${TESTS:- $TEST_LIST } ct_run_tests_from_testset " openshift-remote-cluster"
44
+ if [[ " ${VERSION} " == " 3.9-minimal" ]] || [[ " ${VERSION} " == " 3.11-minimal" ]]; then
45
+ echo " Skipping tests for minimal images. We do not provide them in container catalog registry."
46
+ exit 0
47
+ else
48
+ TEST_SUMMARY=' '
49
+ TEST_SET=${TESTS:- $TEST_LIST } ct_run_tests_from_testset " openshift-remote-cluster"
50
+ fi
47
51
48
52
# vim: set tabstop=2:shiftwidth=2:expandtab:
49
-
Original file line number Diff line number Diff line change @@ -37,6 +37,10 @@ function ct_pull_or_import_postgresql() {
37
37
38
38
# Check the imagestream
39
39
function test_python_imagestream() {
40
+ if [[ " ${VERSIONS} " == " 3.12" ]] && [[ " ${OS} " == " rhel8" ]]; then
41
+ echo " Skipping tests for ${VERSIONS} . It is not supported in Container Catalog. Imagestreams do not exist for them."
42
+ return 0
43
+ fi
40
44
if [[ " ${VERSIONS} " == " 3.9-minimal" ]] || [[ " ${VERSIONS} " == " 3.11-minimal" ]]; then
41
45
echo " Skipping tests for ${VERSIONS} . It is not supported in Container Catalog. Imagestreams do not exist for them."
42
46
return 0
@@ -83,7 +87,7 @@ function test_python_s2i_app_ex() {
83
87
if [[ " ${VERSION} " == * " minimal" * ]]; then
84
88
VERSION=$( echo " ${VERSION} " | cut -d " -" -f 1)
85
89
fi
86
- if [[ " ${VERSION} " == " 3.11" ]] || [[ " ${VERSION} " == " 3.12" ]]; then
90
+ if [[ " ${VERSION} " == " 3.11" ]] || [[ " ${VERSION} " == " 3.12" ]] || [[ " ${VERSION} " == " 3.12-minimal " ]] ; then
87
91
branch=" 4.2.x"
88
92
else
89
93
branch=" 2.2.x"
@@ -106,7 +110,7 @@ django-postgresql-persistent.json"
106
110
if [[ " ${VERSION} " == * " minimal" * ]]; then
107
111
VERSION=$( echo " ${VERSION} " | cut -d " -" -f 1)
108
112
fi
109
- if [[ " ${VERSION} " == " 3.11" ]] || [[ " ${VERSION} " == " 3.12" ]]; then
113
+ if [[ " ${VERSION} " == " 3.11" ]] || [[ " ${VERSION} " == " 3.12" ]] || [[ " ${VERSION} " == " 3.12-minimal " ]] ; then
110
114
postgresql_image=" quay.io/sclorg/postgresql-12-c8s|postgresql:12"
111
115
postgresql_version=" 12"
112
116
branch=" 4.2.x"
You can’t perform that action at this time.
0 commit comments