[openshift-4.22] ART-17441: Build ose-machine-os-images hermetically#11114
Conversation
|
/hold Requires openshift/machine-os-images#96 to be merged first |
|
@adobes1: This pull request references ART-17441 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 task 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. |
Use Cachi2 artifact lockfile to prefetch RHCOS ISOs before the build, removing the need for network_mode: open. Installer build: ose-installer-container-v4.22.0-202606041345.p2.ge6b9ec0.assembly.stream.el9 Note: url_pull is temporary for testing and should be removed before merging. rh-pre-commit.version: 2.3.2 rh-pre-commit.check-secrets: ENABLED
5ed8027 to
a431fb5
Compare
|
/unhold Test build |
|
/retest |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fgallott The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
b9f86e6
into
openshift-eng:openshift-4.22
Summary
ose-machine-os-imagescan't be built hermetically by default becausefetch_image.shdownloads RHCOS ISO images at build time from an internal mirror.This adds support for Cachi2 generic artifact prefetching. When the Cachi2 prefetch directory (
/cachi2/output/deps/generic/) exists,fetch_image.shcopies ISOs from there instead of downloading them.Changes
rpm-lockfile-prototypeartifact_lockfile.resourceswith RHCOS ISO URLs matching the installer imagenetwork_mode: open