sclorg / postgresql-container

PostgreSQL container images based on Red Hat Software Collections and intended for OpenShift and general usage. Users can choose between Red Hat Enterprise Linux, Fedora, and CentOS based images.
http://softwarecollections.org
Apache License 2.0
164 stars 216 forks source link

Support imagestreams for RHEL9 #476

Closed phracek closed 2 years ago

phracek commented 2 years ago

This pull request adds support for testing imagestreams for RHEL9 on OpenShift.

phracek commented 2 years ago

[test-all]

phracek commented 2 years ago

RHEL9 - OpenShift 4 -13 tests are passsing:

-----------------------------------------------
Running test test_postgresql_imagestream (starting at 2022-11-07 13:57:34+01:00) ... 
-----------------------------------------------
Running image stream test for stream test/imagestreams/postgresql-rhel.json and template test/examples/postgresql-ephemeral-template.json
Now using project "sclorg-test-21502" on server "https://api.core-serv-ocp.hosted.psi.rdu2.redhat.com:6443".

You can add applications to this project with the 'new-app' command. For example, try:

    oc new-app rails-postgresql-example

to build a new example application in Ruby. Or use kubectl to deploy a simple Kubernetes application:

    kubectl create deployment hello-node --image=k8s.gcr.io/e2e-test-images/agnhost:2.33 -- /agnhost serve-hostname

secret/6340056-core-services-apps-ci-pull-secret created
imagestream.image.openshift.io/postgresql created
secret/postgresql created
service/postgresql created
deploymentconfig.apps.openshift.io/postgresql created
Waiting for postgresql pod becoming ready ........... DONE
project.project.openshift.io "sclorg-test-21502" deleted
Project sclorg-test-21502 was deleted properly
Tests were run for image rhel9/postgresql-13:1
Uncompressed size of the image: 405MB
Compressed size of the image: 135MB
 [PASSED] for 'openshift-remote-cluster' test_postgresql_integration (00:00:55)
 [PASSED] for 'openshift-remote-cluster' test_postgresql_imagestream (00:00:36)

OpenShift tests for rhel9/postgresql-13:1 succeeded.
phracek commented 2 years ago

[test-all]