Skip to content

Commit ed78740

Browse files
committed
bib: fix TestManifestSerialization tests
With osbuild/images#1571 merged we now potentially have an extra `target` build pipeline that needs container specs. Sadly a misconfiguration in the branch protection for "main" merged images v0.151 with the now broken unit tests in #955 (the branch protection is now fixed). This commit now also fixes the test by adding a mock container spec for the "target" pipeline.
1 parent 1ba7d43 commit ed78740

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bib/cmd/bootc-image-builder/main_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,9 @@ var diskContainers = map[string][]container.Spec{
211211
"image": {
212212
containerSpec,
213213
},
214+
"target": {
215+
containerSpec,
216+
},
214217
}
215218

216219
// TODO: this tests at this layer is not ideal, it has too much knowledge

0 commit comments

Comments
 (0)