-
Notifications
You must be signed in to change notification settings - Fork 328
Add RHEL10 imagestreams #744
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
Conversation
Testing Farm results
|
579b8a6
to
4d755e5
Compare
This comment was marked as outdated.
This comment was marked as outdated.
let's test it again as PR #743 was merged |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
4f1f147
to
48e6307
Compare
The latest commit 4f1f147 fixes proper detection json file. [test-all] |
@@ -62,7 +62,7 @@ function test_python_imagestream() { | |||
django-postgresql.json \ | |||
django-postgresql-persistent.json" | |||
for template in $TEMPLATES; do | |||
ct_os_test_image_stream_quickstart "${THISDIR}/imagestreams/python-${OS%[0-9]*}.json" \ | |||
ct_os_test_image_stream_quickstart "${THISDIR}/imagestreams/python-${OS//[0-9]/}.json" \ |
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 don't understand this change, could you please explain?
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.
Yeah, in case OS=rhel8 or rhel9, then the expression ${OS%[0-9]*} converts to rhel and result file is python-rhel.json, that exists.
But in case OS=rhel10 then the origin expression convers to rhel1 and the file python-rhel1.json does not exist.
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.
Aach, I see. //
replaces all matches of digits with nothing (after /
). %
removes the suffix from the end. The same effect would have an expression ${OS%%[0-9]*}
with double % sign to indicate the removal of the longest match from the end of the string. I have no opinion on what's better, but I learned something new today :)
UBI10 Signed-off-by: Petr "Stone" Hracek <[email protected]>
Signed-off-by: Petr "Stone" Hracek <[email protected]>
Signed-off-by: Petr "Stone" Hracek <[email protected]>
Fix regular expression for geting 'rhel' name from OS variable Signed-off-by: Petr "Stone" Hracek <[email protected]>
Signed-off-by: Petr "Stone" Hracek <[email protected]>
e439b45
to
4f3123a
Compare
Rebased commits so they are easy to review. [test-all] |
CentOS Stream 9 with 3.9 and 3.11 fails but I have no idea why - couldn't find anything relevant in the logs. Do you know why it's failing? The commits themselves look good to me. |
Do not update in function ct_pull_or_import_postgresql Signed-off-by: Petr "Stone" Hracek <[email protected]>
173b964
to
edef67d
Compare
Do not use CentOS 7 image for Postgresql that is a bit old. And let's use CentOS Stream 8 image that is a bit fresh. [test-all] |
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.
LGTM.
Thank you @befeleme |
Adds testing RHEL10 imagestreams in python container.
This pull request is blocked by #743