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 product config for AlmaLinux (rhel-8) #3562
Conversation
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.
Andrew, thank you!
I think there is no problem adding this, but the decision ultimately depends on more people than me.
To modify code on RHEL, you need a bug and link it from the commit:
Add product config for AlmaLinux (#NNNN)
Resolves: rhbz#NNNN
See https://github.com/rhinstaller/anaconda/blob/rhel-8/docs/commit-log.rst for more info
You should add a test as well. The place to do so would be somewhere under here https://github.com/rhinstaller/anaconda/blob/rhel-8/tests/nosetests/pyanaconda_tests/product_test.py#L236 and I guess it would look mostly like this:
self._check_default_profile(
"AlmaLinux", "",
["rhel.conf", "almalinux.conf"],
ENTERPRISE_PARTITIONING
)
See https://github.com/rhinstaller/anaconda/blob/rhel-8/tests/README.rst for how to run the tests. I have not ran them manually on the rhel 8 branch for a long time, but assuming it all works, the tl;dr should be make anaconda-ci-build && make container-ci
and go make coffee or eat your lunch, it takes 8-20 minutes. Alternatively, push here and tests will run, but somebody will have to approve them each time, so it might take far longer.
We really want tests, so as a last resort, somebody can write the tests for you.
Finally, is this something you'd like to see in RHEL 9 too? If so, the process is the same, except we modified things a bit so the fields would be slightly different.
This will not work. You have to have access to RHEL repositories which are not released so outside collaborators unfortunately can't run RHEL-8 tests. I would like to move this / support also CentOS Stream which would work but I don't have a capacity to do that now and also waiting until CentOS Stream will stabilize a bit. |
In general, thank you for the configuration file. Would be great to have it here because we can then update it to avoid breakage of your configuration file and you will just create PR on us in case you need to change something specific to your configuration. This PR should definitely go to Also as @VladimirSlavik already mentioned, you should also backport this to RHEL-9 if you want to have it there. |
/kickstart-test --testtype smoke |
Test for AlmaLinux product is added to PR. |
/kickstart-test --testtype smoke |
8c799da
to
88ed655
Compare
@VladimirSlavik sorry I forgot to mention bug https://bugzilla.redhat.com/show_bug.cgi?id=2003692 in commit message. |
Thank you, still a few steps though:
The line with Second, this needs to be on all commits. I would actually advise squashing the two. If you want, I can fix this for you. Once that is done, the PR is in order, and the bug needs to be accepted. (Again same for rhel-9). |
Resolves: rhbz#2003692
88ed655
to
5f25210
Compare
@VladimirSlavik I've squashed commits and added Resolves: line |
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.
Thanks!
It seems this should be able to eventually get into 8.6.
/kickstart-test --testtype smoke |
Thank you @VladimirSlavik @rvykydal ! |
Ah, also thanks to @jkonecny12 who made sure this went through all the planning etc. which is not logged here :) |
AlmaLinux is Open Source, community-governed and forever-free enterprise Linux distribution, focused on long-term stability, providing a robust production-grade platform. AlmaLinux OS is 1:1 binary compatible with RHEL® and pre-Stream CentOS.
https://almalinux.org