image-builder: --extra-artifacts split
Split out `--extra-artifacts` into `--with-sbom` and `--with-manifest`. Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
This commit is contained in:
parent
ee38c45122
commit
585d349d0f
2 changed files with 14 additions and 7 deletions
|
|
@ -411,7 +411,7 @@ func TestBuildIntegrationExtraArtifactsManifest(t *testing.T) {
|
|||
"qcow2",
|
||||
"--distro", "centos-9",
|
||||
"--cache", outputDir,
|
||||
"--extra-artifacts", "manifest",
|
||||
"--with-manifest",
|
||||
"--output-dir", outputDir,
|
||||
})
|
||||
defer restore()
|
||||
|
|
@ -488,7 +488,7 @@ func TestManifestIntegrationExtraArtifactsSBOMWithOutputDir(t *testing.T) {
|
|||
"--arch=x86_64",
|
||||
"--distro=centos-9",
|
||||
fmt.Sprintf("--blueprint=%s", makeTestBlueprint(t, testBlueprint)),
|
||||
"--extra-artifacts=sbom",
|
||||
"--with-sbom",
|
||||
"--output-dir", outputDir,
|
||||
})
|
||||
defer restore()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue