Skip to content

Commit

Permalink
Delete SignPipeline
Browse files Browse the repository at this point in the history
It's a trivial wrapper around SignSteps. Call that instead.
  • Loading branch information
DrJosh9000 committed Jun 26, 2024
1 parent 2e6f3cb commit 81faeec
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions signature/steps.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,3 @@ func SignSteps(ctx context.Context, s pipeline.Steps, key jwk.Key, repoURL strin
}
return nil
}

// SignPipeline adds signatures to each command step (and recursively to any command steps that are within group steps) within a pipeline
func SignPipeline(ctx context.Context, s pipeline.Steps, key jwk.Key, repo string, opts ...Option) error {
if err := SignSteps(ctx, s, key, repo, opts...); err != nil {
return fmt.Errorf("signing steps: %w", err)
}
return nil
}

0 comments on commit 81faeec

Please sign in to comment.