-
Notifications
You must be signed in to change notification settings - Fork 169
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cosa2stream: Rework to better optimize openshift/installer flow
When I was writing this originally I was focused on the goal of converting cosa metadata to stream format, hence the name etc. However upon trying to use this for openshift/installer I realized something important: *after* we do the switch, the installer git will be a "source of truth" for the pinned bootimages. The expected user story here will be e.g. "update x86_64 to <version>". So now we support this flow: ``` $ plume cosa2stream --distro rhcos --output data/data/rhcos.json x86_64=48.83.202102192019-0 s390x=47.83.202102090311-0 ``` which hardcodes the URL we use now, and makes the arch+version mapping explicit. We also paper over the fact that currently for RHCOS there are separate cosa builds per architecture; the non-x86_64 ones are named e.g `rhcos-4.8-s390x` instead of just `rhcos-4.8`.
- Loading branch information
1 parent
0d07f4e
commit 44e519c
Showing
2 changed files
with
93 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters