cmd/describe: test that all images can be described

Add an unit test to verify that the `describe` command can describe all
image types. I've recently ran into issue when describing ostree-based
and `*-simplified-installer` image types.

Add new dependecy for working with YAML - sigs.k8s.io/yaml.

This is what we will probably converge to, since our currently used YAML
library is unmaintained.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
This commit is contained in:
Tomáš Hozza 2025-06-23 14:26:43 +02:00 committed by Simon de Vlieger
parent bb7cab6ac7
commit 8040fee0d4
5 changed files with 62 additions and 3 deletions

1
go.mod
View file

@ -15,6 +15,7 @@ require (
github.com/stretchr/testify v1.10.0
golang.org/x/sys v0.30.0
gopkg.in/yaml.v3 v3.0.1
sigs.k8s.io/yaml v1.4.0
)
require (