Skip to content

Add recent UBI 10 images - #805

Draft
Jakuje wants to merge 4 commits into
ansible:develfrom
Jakuje:ubi10
Draft

Jakuje wants to merge 4 commits into
ansible:develfrom
Jakuje:ubi10

Conversation

@Jakuje

@Jakuje Jakuje commented Feb 23, 2026 •

Copy link
Copy Markdown
Collaborator
SUMMARY

Adds UBI10 images to CI

Fixes: #802

ISSUE TYPE
  • Feature Pull Request
ADDITIONAL INFORMATION

This will help with testing against more different configurations.

But it currently does not work as it looks like the ubi10 does not have python3-cython.

Caution

External/downstream blocker

https://redhat.atlassian.net/browse/RHEL-151535

Okay to abandon RHEL10 support via UBI10 in the upstream CI

On Aug 12, 2026 if downstream isn't interested in us testingthis scenario.

@Jakuje

Jakuje commented Feb 24, 2026

Copy link
Copy Markdown
Collaborator Author

For the record, I opened https://issues.redhat.com/browse/RHEL-151535 to add the python3-cython to ubi10. Its in ubi9 so I do not see a reason why it should not be in ubi10.

In the meantime, we might be able to have centos:10stream build image, but it does not have the minor versions so it would get more limited use.

@webknjaz

Copy link
Copy Markdown
Member

Its in ubi9 so I do not see a reason why it should not be in ubi10.

I faced similar situations in the past and was told that nobody needs a dep outside the subscription 🤷‍♂️ Hope this time we'll get a better outcome.

@webknjaz

Copy link
Copy Markdown
Member

I opened https://issues.redhat.com/browse/RHEL-151535

Looks like I don't have access to that. Any news?

@Jakuje

Jakuje commented Mar 13, 2026

Copy link
Copy Markdown
Collaborator Author

I opened https://issues.redhat.com/browse/RHEL-151535

Looks like I don't have access to that. Any news?

No update there. That makes me thing that we should just go ahead with the c10s

@webknjaz

Copy link
Copy Markdown
Member

with the c10s

what's that?

@webknjaz webknjaz closed this Mar 19, 2026
@webknjaz webknjaz reopened this Mar 19, 2026
@packit-as-a-service

Copy link
Copy Markdown

Congratulations! One of the builds has completed. 🍾

You can install the built RPMs by following these steps:

  • sudo dnf install -y 'dnf*-command(copr)'
  • dnf copr enable packit/ansible-pylibssh-805
  • And now you can install the packages.

Please note that the RPMs should be used only in a testing environment.

@codecov

codecov Bot commented Mar 19, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.25%. Comparing base (b36c332) to head (00c3ae3).

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Jakuje

Jakuje commented Mar 19, 2026

Copy link
Copy Markdown
Collaborator Author

with the c10s

what's that?

Centos 10 Stream -- basically latest RHEL Y-stream version. Nicely described on this year FOSDEM talk:

https://fosdem.org/2026/schedule/event/8WES7N-centos-mythbusters/

@webknjaz

webknjaz commented Aug 5, 2026

Copy link
Copy Markdown
Member

@Jakuje could you try rebasing to see if this got fixed?

Copilot AI lite review requested due to automatic review settings August 5, 2026 14:29
@Jakuje

Jakuje commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator Author

I do not think so. The https://redhat.atlassian.net/browse/RHEL-151535 was not touched since I opened it. But I can rebase.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds a UBI 10 container image to the CI matrix and adjusts RPM/epel setup steps so the RPM build/test job can run against that new base image.

Changes:

  • Added ubi10/ubi:10.1 to the container test matrix.
  • Extended EPEL installation logic to also run for UBI 10.
  • Split UBI static test dependency installation into separate UBI9 vs UBI10 steps, and added python3-cython to the UBI transitive-deps install list.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/ci-cd.yml Resolved
Comment thread .github/workflows/ci-cd.yml Outdated
Comment on lines +1066 to +1070
@@ -1064,9 +1067,10 @@ jobs:
python3-pluggy
python3-py
python3-tomli
python3-cython
@webknjaz

webknjaz commented Aug 5, 2026

Copy link
Copy Markdown
Member

I've left a few warm words in there, in the spirit of transparency… If they don't respond in like a week or so, we'll consider that env unsupported.

Note

N.B. I might've mentioned this in the past or not, I don't remember.
But this entire thing of me trying to have a spec file, packit, rhel/ubi/epel, fedora, centos et al in the CI was just me being curious of how hard could it be to maintain maximum upstream compat w/ downstreams and being nice to them in general. And if they aren't interested, I don't think we should be either (beyond the contrib-required infra that we ourselves need for dev env and stuff). I've had great experiences with the downwnstream maintainers like Arch, Fedora and Gentoo, as a Python project upstream maintainer, where they would make an effort to be on the same page and have a good collab. OTOH, we've had UBI folks saying "no" to us asking to expose an RPM when I was first starting to put the ansible-pylibssh infra together. I think I wasn't able to properly frame the need in terms of a "business case" back then, though due to the lack of experience, perhaps this time we'll be able to show the upside of having respective build deps exposed for our upstream testing to help their downstream packaging in the long run 🤷‍♂️

But if not — I think we should take a serious look at the sustainability side of this project's infra since the side of the CI matrix is sort of a side effect of my idealist worldview and does not reflect the actual resources we've got to keep up with it.

Tip

One possibility could be reducing the matrix and instead of having each of 9.0.0, 9.1, 9.0, 9.2, 9.3, 9.4, 9.5, 9.6 and 9.7, we could just have min+max (9.0+9.7), at least on the PR runs.

@webknjaz webknjaz added 🤖 infra This includes packaging, CI/CD, test runners, dev env. That sort of stuff. help wanted Extra attention is needed github_actions Pull requests that update Github_actions code labels Aug 7, 2026
@webknjaz webknjaz mentioned this pull request Aug 7, 2026
@Jakuje
Jakuje force-pushed the ubi10 branch 5 times, most recently from 09a9d12 to a0737cf Compare August 18, 2026 13:04
@Jakuje

Jakuje commented Aug 18, 2026 •

Copy link
Copy Markdown
Collaborator Author

I did some more fight with the following outcomes:

  • the problem is not missing cython package from ubi, but missing python3-cython metapackage
  • since the last time trying the rpmlint became uninstallable because python3-zstandard moved from epel to rhel, but was not included in ubi. Reporeted internally.

The current version goes up to the rpm dependencies evaluation and fails on the following:

No matching package to install: 'python3dist(cython) >= 3'

These requirements are generated from the python requirements, but the missing package is breaking this. If I will have success with fixing the rmplint, I will try to nudge also the python3-cython similarly.

Edit: The problem is really missing unversioned python3-Cython package. Created a MR to add that after a bit discussion that this is the right direction. After it will be there (and repositories will be regenerated) we should unblock this MR (and drop the top commit excluding the rpmlint).

@Jakuje
Jakuje force-pushed the ubi10 branch 3 times, most recently from fbd95ec to 5364b9c Compare August 19, 2026 09:14
Comment thread .github/workflows/ci-cd.yml Resolved
Comment thread .github/workflows/ci-cd.yml Resolved
Comment thread .github/workflows/ci-cd.yml Resolved
@Jakuje
Jakuje force-pushed the ubi10 branch 4 times, most recently from d5d9581 to 64cd8e1 Compare November 6, 2026 11:55
Signed-off-by: Jakub Jelen <jjelen@redhat.com>
This should be resolved next time the ubi10 repositories are
regenerated and the missing package included (hope it will
be the only one).

Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Add a changelog fragment acknowledging the addition of UBI 10 container images
to the CI RPM smoke test matrix and the temporary skipping of rpmlint
validation.

Assisted-by: LLM
Signed-off-by: Jakub Jelen <jjelen@redhat.com>
@pyba-chronographer pyba-chronographer Bot added the bot:chronographer:provided There is a change note present in this PR label Nov 11, 2026
@Jakuje

Jakuje commented Nov 11, 2026

Copy link
Copy Markdown
Collaborator Author

Rebased and dropped the unrelated stuff. The 10.2 and 10.1 still fail on missing cython. I hope 10.3 will have both cython and rpmlint so we will be able to add at least that one. Not actionable at this moment.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot:chronographer:provided There is a change note present in this PR github_actions Pull requests that update Github_actions code help wanted Extra attention is needed 🤖 infra This includes packaging, CI/CD, test runners, dev env. That sort of stuff.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add ubi10 CI images

3 participants