Skip to content

ci: allow the installation of greenboot rpm packages from compose#178

Open
mcattamoredhat wants to merge 2 commits into
fedora-iot:mainfrom
mcattamoredhat:rc-compose-tier1-testing
Open

ci: allow the installation of greenboot rpm packages from compose#178
mcattamoredhat wants to merge 2 commits into
fedora-iot:mainfrom
mcattamoredhat:rc-compose-tier1-testing

Conversation

@mcattamoredhat

@mcattamoredhat mcattamoredhat commented Apr 23, 2026

Copy link
Copy Markdown
Contributor

This PR introduces changes to allow the installation of greenboot RPM packages from a given
RHEL compose, and extends bootc test coverage to RHEL 9.9 and RHEL 10.3.

ci: allow the installation of greenboot rpm packages from compose

When both DOWNLOAD_NODE and COMPOSE_ID environment variables are set, the qcow2,
anaconda-iso, and ostree CI test cases will fetch the greenboot RPMs directly from the RHEL
compose available at the DOWNLOAD_NODE URL, instead of building them locally with make rpm.
This makes local testing against specific RC or nightly composes simpler and more automated.

The RPM download logic has been extracted into a shared helper
(tests/common/download-compose-rpms.sh) to avoid duplication across scripts. The helper
fetches the packages index page once and reuses it for both RPM lookups.

ci: add RHEL 9.9 and RHEL 10.3 support to bootc test cases

Extends the bootc qcow2 and anaconda-iso test scripts to support RHEL 9.9 and RHEL 10.3
alongside the existing 9.8 and 10.2 variants. Each new distro gets its own DNF repo file
with a REPLACE_ME_HERE placeholder substituted at runtime from DOWNLOAD_NODE. CI jobs
rhel-9-9-bootc and rhel-10-3-bootc are added to greenboot-ci.yaml targeting the
corresponding nightly composes.

Note: The ostree test case is not updated yet as RHEL 9.9 support there is not ready.

Comment thread tests/greenboot-ostree.sh
Comment thread tests/greenboot-ostree.sh Outdated
Comment thread tests/greenboot-bootc-anaconda-iso.sh Outdated
Comment thread tests/greenboot-bootc-qcow2.sh Outdated
Comment thread tests/greenboot-ostree.sh Outdated

@knecasov knecasov 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.

I added a few comments.

Have you considered extracting the shared parts of the code (for example, an RPM download logic) into a common helper, please? The same block is repeated across all three scripts.

Comment thread tests/greenboot-bootc-anaconda-iso.sh Outdated
say-paul
say-paul previously approved these changes Apr 28, 2026

@say-paul say-paul left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

Comment thread tests/greenboot-ostree.sh
Signed-off-by: Mario Cattamo <mcattamo@redhat.com>
@mcattamoredhat

Copy link
Copy Markdown
Contributor Author

I added a few comments.

Have you considered extracting the shared parts of the code (for example, an RPM download logic) into a common helper, please? The same block is repeated across all three scripts.

Done!

say-paul
say-paul previously approved these changes Jun 10, 2026

@say-paul say-paul left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

Signed-off-by: Mario Cattamo <mcattamo@redhat.com>
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.

3 participants