Skip to content

ART-19543: extensions: use dnf for ART builds, keep rpm-ostree for prow/local#1943

Open
locriandev wants to merge 2 commits into
openshift:masterfrom
locriandev:extensions-image
Open

ART-19543: extensions: use dnf for ART builds, keep rpm-ostree for prow/local#1943
locriandev wants to merge 2 commits into
openshift:masterfrom
locriandev:extensions-image

Conversation

@locriandev

@locriandev locriandev commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Switch ART builds to use dnf download instead of rpm-ostree compose extensions
  • Keep prow and local builds using rpm-ostree compose extensions as before
  • Resolves repo naming conflicts for ART builds that inject repos via /etc/yum.repos.d/

Details

ART builds inject repository configurations via /etc/yum.repos.d/ which have different names than those defined in the extensions YAML files. This mismatch causes rpm-ostree compose extensions to fail because it expects exact repo name matches.

By switching to dnf download, we allow ART builds to use whatever repo names are present in the environment, while prow and local builds continue with the existing rpm-ostree workflow unchanged.

Switch ART builds to use dnf download instead of rpm-ostree compose
extensions to avoid repo naming conflicts. ART builds inject repos via
/etc/yum.repos.d/ which have different names than those in the extensions
YAML files.

Prow and local builds continue to use rpm-ostree compose extensions as
before, ensuring no disruption to existing workflows.

rh-pre-commit.version: 2.4.0
rh-pre-commit.check-secrets: ENABLED
@openshift-ci openshift-ci Bot requested review from gursewak1997 and jschintag June 18, 2026 09:49
@openshift-ci

openshift-ci Bot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: locriandev
Once this PR has been reviewed and has the lgtm label, please assign dustymabe for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@locriandev locriandev changed the title extensions: Use dnf for ART builds, keep rpm-ostree for prow/local ART-19543: extensions: use dnf for ART builds, keep rpm-ostree for prow/local Jun 18, 2026
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jun 18, 2026
@openshift-ci-robot

openshift-ci-robot commented Jun 18, 2026

Copy link
Copy Markdown

@locriandev: This pull request references ART-19543 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "5.0.0" version, but no target version was set.

Details

In response to this:

Summary

  • Switch ART builds to use dnf download instead of rpm-ostree compose extensions
  • Keep prow and local builds using rpm-ostree compose extensions as before
  • Resolves repo naming conflicts for ART builds that inject repos via /etc/yum.repos.d/

Details

ART builds inject repository configurations via /etc/yum.repos.d/ which have different names than those defined in the extensions YAML files. This mismatch causes rpm-ostree compose extensions to fail because it expects exact repo name matches.

By switching to dnf download, we allow ART builds to use whatever repo names are present in the environment, while prow and local builds continue with the existing rpm-ostree workflow unchanged.

Test build

rhcos-node-image-extensions-container-v5.0.0-202606171652.p2.gd586bd1.assembly.test.el9

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

rh-pre-commit.version: 2.4.0
rh-pre-commit.check-secrets: ENABLED
@openshift-ci

openshift-ci Bot commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

@locriandev: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

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

Labels

jira/valid-reference Indicates that this PR references a valid Jira ticket of any type.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants