debian-forge-composer/cmd/osbuild-image-tests
Ondřej Budai 1516c1987e test/image: fix pipeline exports for v2 manifests
Previously, we just assumed that all test manifests are of version 1, or we
should export the pipeline named assembler. However, this is no longer true
in RHEL 8.5 and 9 - they are only manifest v2 and they don't have a pipeline
named assembler.

This commit introduces a new way to guess the export name - if the manifest
is of version 1, we just export the assembler. In the case v2 manifest, the
last pipeline is exported.

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2021-08-17 15:53:08 +02:00
..
constants osbuild-image-tests: call osbuild with export option 2021-03-17 18:12:17 +00:00
main_test.go test/image: fix pipeline exports for v2 manifests 2021-08-17 15:53:08 +02:00