imagebuilder: accept manifest_type

The `imagebuilder` phase was missing the `manifest_type` property in its
schema. While pungi (often) guesses correctly for the `manifest_type` it
doesn't do so in the case of ostree installer images; thus it needs to
be allowed.

This was an oversight as the phase implementation already looked for
this value in the configuration.

Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
(cherry picked from commit 0ade83b0e9adc43b4e9fd38d536d647f42126688)
This commit is contained in:
Simon de Vlieger 2025-08-07 08:45:15 +02:00 committed by Stepan Oksanichenko
parent f200e493ec
commit 05ded4aaa8
2 changed files with 2 additions and 0 deletions

View File

@ -1463,6 +1463,7 @@ def make_schema():
"additionalProperties": True,
},
"seed": {"type": "integer"},
"manifest_type": {"type": "string"},
},
"required": [
"name",

View File

@ -61,6 +61,7 @@ class TestImageBuilderPhase(PungiTestCase):
"repos": ["https://example.com/repo/", "Client"],
"types": ["custom"],
"version": "Rawhide",
"manifest_type": "custom-type",
},
)
compose = DummyCompose(self.topdir, {"imagebuilder": {"^Server$": [cfg]}})