Skip to content

Commit

Permalink
feat(policies): evaluate contract policies (chainloop-dev#1087)
Browse files Browse the repository at this point in the history
Signed-off-by: Jose I. Paris <[email protected]>
  • Loading branch information
jiparis authored Jul 17, 2024
1 parent 03d8e2c commit 05309bc
Show file tree
Hide file tree
Showing 39 changed files with 2,768 additions and 1,479 deletions.
3 changes: 2 additions & 1 deletion app/cli/internal/action/attestation_push.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,13 +143,14 @@ func (action *AttestationPush) Run(ctx context.Context, attestationID string, ru
if err != nil {
return nil, fmt.Errorf("creating signer: %w", err)
}

renderer, err := renderer.NewAttestationRenderer(action.c.CraftingState, action.cliVersion, action.cliDigest, sig,
renderer.WithLogger(action.Logger), renderer.WithBundleOutputPath(action.bundlePath))
if err != nil {
return nil, err
}

envelope, err := renderer.Render()
envelope, err := renderer.Render(ctx)
if err != nil {
return nil, err
}
Expand Down
109 changes: 53 additions & 56 deletions app/controlplane/api/gen/frontend/attestation/v1/crafting_state.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 05309bc

Please sign in to comment.