Skip to content

Commit 2b2afea

Browse files
authored
Merge pull request #516 from sclorg/support_15_imagestreams
Add support for the latest postgresql-15 imagestreams.
2 parents b11714f + a0e3b5c commit 2b2afea

File tree

2 files changed

+35
-8
lines changed

2 files changed

+35
-8
lines changed

imagestreams/postgresql-rhel.json

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,40 @@
2020
},
2121
"from": {
2222
"kind": "ImageStreamTag",
23-
"name": "13-el8"
23+
"name": "15-el8"
24+
}
25+
},
26+
{
27+
"name": "15-el9",
28+
"annotations": {
29+
"openshift.io/display-name": "PostgreSQL 15 (RHEL 9)",
30+
"openshift.io/provider-display-name": "Red Hat, Inc.",
31+
"description": "Provides a PostgreSQL 15 database on RHEL 9. For more information about using this database image, including OpenShift considerations, see https://github.com/sclorg/postgresql-container/blob/master/README.md.",
32+
"iconClass": "icon-postgresql",
33+
"tags": "database,postgresql",
34+
"version": "15"
35+
},
36+
"from": {
37+
"kind": "DockerImage",
38+
"name": "registry.redhat.io/rhel9/postgresql-15:latest"
39+
},
40+
"referencePolicy": {
41+
"type": "Local"
42+
}
43+
},
44+
{
45+
"name": "15-el8",
46+
"annotations": {
47+
"openshift.io/display-name": "PostgreSQL 15 (RHEL 8)",
48+
"openshift.io/provider-display-name": "Red Hat, Inc.",
49+
"description": "Provides a PostgreSQL 15 database on RHEL 8. For more information about using this database image, including OpenShift considerations, see https://github.com/sclorg/postgresql-container/blob/master/README.md.",
50+
"iconClass": "icon-postgresql",
51+
"tags": "database,postgresql",
52+
"version": "15"
53+
},
54+
"from": {
55+
"kind": "DockerImage",
56+
"name": "registry.redhat.io/rhel8/postgresql-15:latest"
2457
},
2558
"referencePolicy": {
2659
"type": "Local"

test/test-lib-postgresql.sh

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,7 @@ function test_postgresql_imagestream() {
3737
elif [ "${OS}" == "rhel9" ]; then
3838
tag="-el9"
3939
fi
40-
# TODO
41-
# Delete this as soon as postgresql image reached GA
42-
if [ "${VERSION}" == "15" ]; then
43-
echo "WARNING: Version ${VERSION} does not reach GA."
44-
echo "WARNING: Remove this condition as soon as it will be available."
45-
return 0
46-
fi
40+
4741
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}"
4842
}
4943

0 commit comments

Comments
 (0)