MCO-2114: adds io.openshift.os.streamclass to OKD OS and extensions images#75759
MCO-2114: adds io.openshift.os.streamclass to OKD OS and extensions images#75759cheesesashimi wants to merge 1 commit intoopenshift:mainfrom
Conversation
|
/pj-rehearse pull-ci-openshift-os-master-okd-scos-images |
|
@cheesesashimi: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
The code in the PR seems reasonable. The actual string suggested here may be able to be improved. For rhcos 9 and rhcos 10 the string we are using for the stream class is |
|
I have no objection with either |
I have the same sentiment, with a slight lean towards |
8badf45 to
64c38ed
Compare
|
I just pushed a commit to change it to |
|
/pj-rehearse pull-ci-openshift-os-master-okd-scos-images |
|
@cheesesashimi: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
[REHEARSALNOTIFIER]
Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
|
The label part of the PR lgtm. I'm not sure about the other changes. Should we have someone from okd review this? @Prashanth684 ? |
|
/pj-rehearse pull-ci-openshift-os-master-okd-scos-images |
|
@Prashanth684: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
@cheesesashimi: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions 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. |
|
@cheesesashimi: This pull request references MCO-2114 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. DetailsIn response to this:
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. |
|
/lgtm |
|
checked the image created from the rehearsal job and it has the label set |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: cheesesashimi, Prashanth684 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
To support a singular OS Stream in OKD, we need to add a label to the SCOS 10 image (
io.openshift.os.streamclass). For RHCOS 10, this label is set within the build-node-image.Jenkinsfile. Since the value of this label depends on whether it is an RHCOS 9 or RHCOS 10 image, the value must be set at build-time instead of via the Containerfile. Since OKD will only have one OS Stream (centos-10), we could set it statically in the Containerfile(s) found in https://github.com/openshift/os. However, I think it makes more sense to do it at build-time until there is a better way of setting it dynamically.With the above in mind, this PR accomplishes that by modifying the image targets to be the input for an inline Containerfile which sets this label.