-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fedora: image type names follow variants #1233
base: main
Are you sure you want to change the base?
Conversation
I'll assume this needs discussion and followups :) |
d11c310
to
9f26ac2
Compare
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. |
9f26ac2
to
ed637c6
Compare
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 :) |
dccabd8
to
711a6ed
Compare
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 |
0e79ff7
to
21bd60f
Compare
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]>
21bd60f
to
b3f4f8a
Compare
Adds in the new names where applicable, or replaces them where configs only concern fedora. Signed-off-by: Simon de Vlieger <[email protected]>
b3f4f8a
to
bd9a845
Compare
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.