-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add missing imagestreams for Postgresql 16 #553
Conversation
Signed-off-by: Petr "Stone" Hracek <[email protected]>
This pull request adds two missing imagestreams. Only running OpenShift tests are mandatory [test-openshift] |
Hi, can we do this change with the generator? I can do that if you want. |
Just let me know or write how. |
Let's test integration with postgresql-15 that is already released Signed-off-by: Petr "Stone" Hracek <[email protected]>
[test-openshift] |
test/test-lib-postgresql.sh
Outdated
@@ -18,6 +18,11 @@ function test_postgresql_integration() { | |||
namespace_image="rhscl/postgresql-${VERSION}-rhel7" | |||
else | |||
namespace_image="${OS}/postgresql-${VERSION}" | |||
# In case we test postgresql-16 that is not released yet | |||
# let's use postgresql-15 | |||
if [ "${VERSION}" == "16" ]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we wait with adding imagestreams for v16 instead of introducing this fix?
There is high possibility we will forget about this in the future.
Or let's have the tests failing for a while, I am OK with it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Of course, but nightly builds are failing. I check them each day or two. It is boring. For this reason, we can stop it.
Or I can file an issue to remove it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Issue here on sclorg's Github? If yes, then let's remove them in #549. It is only a simple change in the imagestream.yaml.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing from #549 is not the right way. I will try to explain where the trouble is.
We have to do two things for each new container version in the upstream repository.
First of all, add a new version here, and second, add a new version into imagestreams as well.
But this is a problem. When we test the newest version in OpenShift 4, like in this case registry.redhat.io/rhel8/postgresql-16
, then the OpenShift tests fail because this imagestream does not exist yet. It is still not generally available
But OpenShift 4 team gets regularly all our imagestreams from our repositories to the newly developed OCP4 version, like OCP 4.16 now.
When the latest imagestreams are missing in our repositories, then these imagestreams are also missing in OpenShift developed versions, which is not expected.
We can of course test in our test suites if 'developed' version is present in devel_images
file and then skip it.
This solution is feasible and realistic not only for this pull request but also for the later-on new images.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But until the image is out the imagestreams will not work for the OpenShift team too.
We can of course test in our test suites if 'developed' version is present in devel_images file and then skip it.
This solution is feasible and realistic not only for this pull request but also for the later-on new images.
Sounds sensible to me. I would also be OK with adding the imagestreams when the image is ready (the correct timing could be a problem here) OR let the tests fail until then. But I would rather avoid the option of testing imagestreams for pgsql16 with pgsql 15 images.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have fixed it by commit f8e6b12
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like everything is greeen.
Signed-off-by: Petr "Stone" Hracek <[email protected]>
f11d3a6
to
f8e6b12
Compare
[test-openshift] |
Signed-off-by: Petr "Stone" Hracek <[email protected]>
[test-openshift] |
This pull request adds missing imagestreams for Postgresql16.