Skip to content
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 build support for alma 9 #146

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

gocallag
Copy link
Contributor

@gocallag gocallag commented Feb 23, 2025

Fixes issue #49 #88

Notes: While this closes Issue 49, because the almalinux node builds and boots OK, there are still a number of other issues when integrating into the environment - this is due to the engine forcing the addition of centos repos and this needs to be addressed via the engine.

I have validated build with my own self-hosted runner running on the almalinux9 node. I have installed the self-hosted engine on the ovirt node after some creative disabling of some centos repositories, so this also fixes 88

Changes introduced with this PR

  • changes to self-hosted runners

  • added almalinux9 node build

  • fixed Centos 9 Stream build so that it now also works again (bug in pylorax that is avoided with better livemedia-creator options)

  • Added some documentation of how to perform local builds using vscode devcontainers

Are you the owner of the code you are sending in, or do you have permission of the owner?

y

This simply replaces the rpm dist with the makefile dist.
The makefile dist comes from configured distro in the build.sh

Signed-off-by: Geoff O'Callaghan <[email protected]>
This bypasses bug in pylorax where it guesses the size of the ext4 filesystem incorrectly (too small).
This will allow Centos9S builds to occur without impacting others.

Signed-off-by: Geoff O'Callaghan <[email protected]>
Signed-off-by: Geoff O'Callaghan <[email protected]>
Copy link
Member

@dupondje dupondje left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work!
If you can address the small remarks, I'll merge it.

@@ -32,7 +32,8 @@ jobs:
strategy:
matrix:
name: [el9]
runs-on: [image-builders, "${{ matrix.name }}"]
# runs-on: [image-builders, "${{ matrix.name }}"]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would drop the commented line.
The self-hosted node has self-hosted and image-builders tag btw.

runs-on: [image-builders, "${{ matrix.name }}"]
- name: alma9
container-name: almalinux9
# runs-on: [image-builders, "${{ matrix.name }}"]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

drop commented line

@@ -59,7 +59,7 @@ jobs:
image: quay.io/ovirt/buildcontainer:${{ matrix.container-name }}
volumes:
- /host/modules:/host/modules
options: --privileged
options: --privileged --ulimit=nofile=262144:262144
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you explain in the commit msg why it's needed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants