Fix the attest command (#2337)

* fix attest command

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>

* add notification on how to access the attestation

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>

* fix integration test

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>

---------

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
This commit is contained in:
Alex Goodman
2023-11-21 18:29:58 +00:00
committed by GitHub
parent ebeb768f59
commit 4712246897
10 changed files with 509 additions and 166 deletions
+2 -3
View File
@@ -78,10 +78,9 @@ func TestConvertCmd(t *testing.T) {
}()
opts := &commands.ConvertOptions{
Output: options.Output{
Outputs: []string{fmt.Sprintf("%s=%s", test.format.ID().String(), formatFile.Name())},
},
Output: options.DefaultOutput(),
}
opts.Outputs = []string{fmt.Sprintf("%s=%s", test.format.ID().String(), formatFile.Name())}
require.NoError(t, opts.PostLoad())
// stdout reduction of test noise