Repository navigation
fedora: image type names follow variants - #1233
Conversation
|
I'll assume this needs discussion and followups :) |
|
The config map commit needs more changes as the image types are now different between various distros they need to be split out; which means duplicating the files since those are the paths. |
Not necessary. The image type names don't need to all be valid for each distro, so for example you can have diff --git a/test/config-map.json b/test/config-map.json
index e8add2b20..4d548d7b0 100644
--- a/test/config-map.json
+++ b/test/config-map.json
@@ -135,6 +135,7 @@
"gce",
"gce-rhui",
"image-installer",
+ "minimal-installer",
"iot-bootable-container",
"iot-container",
"live-installer",
@@ -264,7 +265,8 @@
"x86_64"
],
"image-types": [
- "image-installer"
+ "image-installer",
+ "minimal-installer"
]
},
"./configs/unattended-iso.json": {and it will work. Just add the new names in the same lists where the old names were. |
Ah that's good, I'll do that :) |
|
This PR changes the images API or behaviour causing integration failures with osbuild-composer. The next update of the images dependency in osbuild-composer will need work to adapt to these changes. This is simply a notice. It will not block this PR from being merged. |
Names will need to be updated in |
|
@achilleas-k I might be missing something but the Schutzbot CI fails on: I think I have |
|
This PR is stale because it has been open 30 days with no activity. Remove "Stale" label or comment or this will be closed in 7 days. |
|
Still open awaiting review, and the previous comment still applies:
I'll rebase the conflicts. |
|
Let's start with just the name changes; package sets and other parity work can be done as followups. |
|
This now fails only on Seems like a file doesn't exist, are we missing a package? The file is owned by |
Figured this out; it was my mistake :) |
|
Seems like a lot of checksums change that I didn't expect, I'll take a look. Also seems to kinda not work if the image type names change? |
|
Rebased to run builds. If no other build is running, this should rebuild the Fedora WSL images and pass the coverage check. |
The manual removal of The reason is that there is already a manifest with the same checksum, hence the |
Fedora consists of many variants. Historically we haven't really based our own definitions on anything. Let's introduce variant name prefixes to all Fedora image types to indicate what variant they are based on. The next commit will then make these variants similar to (or equal to) the Fedora variants as they are supposed to be. We keep the old image type names around as aliases since changing them is a breaking change. We should however consider deprecating them and emitting a warning for some time. Signed-off-by: Simon de Vlieger <[email protected]>
Due to some issues in testing the manifests it is problematic to have this image type be named `server-wsl`. Since this keeps blocking the entire PR I'd prefer to rename it back to `wsl`, and then reintroduce the change/revert in a separate PR where the CI issue(s) can also be tackled. Signed-off-by: Simon de Vlieger <[email protected]>
achilleas-k
left a comment
There was a problem hiding this comment.
Thanks for this and sorry for the messiness. I hope we can figure out a nicer way to deal with aliases and renames soon.
Fedora consists of many variants. Historically we haven't really based our own definitions on anything. Let's introduce variant name prefixes to all Fedora image types to indicate what variant they are based on.
The next PR will then make these variants similar to (or equal to) the Fedora variants as they are supposed to be.
We keep the old image type names around as aliases since changing them is a breaking change. We should however consider deprecating them and emitting a warning for some time. Perhaps a followup.