Skip to content

MCO-2120: Rework OS Image Stream label classification#5650

Draft
pablintino wants to merge 1 commit intoopenshift:mainfrom
pablintino:mco-2120
Draft

MCO-2120: Rework OS Image Stream label classification#5650
pablintino wants to merge 1 commit intoopenshift:mainfrom
pablintino:mco-2120

Conversation

@pablintino
Copy link
Contributor

- What I did

Replace the single ostree.linux discriminator with configurable label matchers that explicitly classify OS images ostree.bootable, containers.bootc) and extensions images (io.openshift.os.extensions).
Images that match no discriminator now return nil instead of defaulting to extensions.

- How to verify it

Regular CI tests are enough to verify this change.

- Description for the changelog

OS image streams now use explicit label matchers (ostree.bootable, containers.bootc, io.openshift.os.extensions) instead of a single ostree.linux discriminator to classify OS and extensions images

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Feb 11, 2026
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Feb 11, 2026

@pablintino: This pull request references MCO-2120 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 "4.22.0" version, but no target version was set.

Details

In response to this:

- What I did

Replace the single ostree.linux discriminator with configurable label matchers that explicitly classify OS images ostree.bootable, containers.bootc) and extensions images (io.openshift.os.extensions).
Images that match no discriminator now return nil instead of defaulting to extensions.

- How to verify it

Regular CI tests are enough to verify this change.

- Description for the changelog

OS image streams now use explicit label matchers (ostree.bootable, containers.bootc, io.openshift.os.extensions) instead of a single ostree.linux discriminator to classify OS and extensions images

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.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 11, 2026

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@openshift-ci openshift-ci bot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Feb 11, 2026
Replace the single ostree.linux discriminator with configurable label
matchers that explicitly classify OS images (ostree.bootable,
containers.bootc) and extensions images (io.openshift.os.extensions).
Images that match no discriminator now return nil instead of defaulting
to extensions.

Signed-off-by: Pablo Rodriguez Nava <git@amail.pablintino.com>
@dustymabe
Copy link
Member

seems reasonable

/approve

I assume someone else from MCO should review?

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 13, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dustymabe, pablintino

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

The pull request process is described 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

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

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. 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.

3 participants