-
Notifications
You must be signed in to change notification settings - Fork 115
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
[RHEL10,9,8] Cover restrict repos by host OS, RHEL major versions #17415
base: master
Are you sure you want to change the base?
Conversation
trigger: test-robottelo |
PRT Result
|
7ec44fd
to
400e1f4
Compare
400e1f4
to
e383b19
Compare
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.
Just one question, but generally ACK from an SME point of view.
e383b19
to
3aa0545
Compare
trigger: test-robottelo |
PRT Result
|
3aa0545
to
2fcd591
Compare
trigger: test-robottelo |
PRT Result
^ one Broker checkout error [RHEL9 chost] for
|
PRT Result
|
2fcd591
to
3090c35
Compare
trigger: test-robottelo |
PRT Result
|
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.
Left a couple of proposals to consider and a question.
assert repo.label in sub_man_repos | ||
|
||
# restrict each repo to a different RHEL major version | ||
rhel_majors = [ver for ver in rhel_versions] |
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.
Aren't the rhel_versions
major already?
>>> rhel_versions = [
rhel_major_ver
for rhel_major_ver in settings.supportability.content_hosts.rhel.versions
if 'fips' not in str(rhel_major_ver)
][-3:]
>>> rhel_versions
[8, 9, 10]
rhel_majors = [ver for ver in rhel_versions] |
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.
yes they are I just made a copy list (rhel_majors
) to edit without editing the original list (rhel_versions
).
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.
since I don't use the original list of RHEL versions later in the test, we can just mutate the list in this loop without making a copy.
3090c35
to
50b0df2
Compare
trigger: test-robottelo |
PRT Result
|
665c45d
to
e65b57e
Compare
trigger: test-robottelo |
PRT Result
|
8ed45c5
to
124411f
Compare
trigger: test-robottelo |
PRT Result
|
124411f
to
a2c5a3e
Compare
trigger: test-robottelo |
PRT Result
|
Problem Statement
Cover [SAT-30636], which adds
rhel-10
option to the Repository OS Restrict flag.RHEL-10/9/8
, using one matching registered host of one the selected rhel versions.6.16.z
and6.15.z
, implicitly selected RHEL versions will be9/8/7
(N-2) from supportability.yaml.Solution
Implement stubbed coverage, that could have discovered this missing option during initial automation runs.
PRT Case