Skip to content

Commit

Permalink
Merge pull request #42 from buildkite/josh-cleanups
Browse files Browse the repository at this point in the history
Delete `SignPipeline`
  • Loading branch information
DrJosh9000 authored Jun 26, 2024
2 parents 3b5a1f4 + 81faeec commit 5e62e6c
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 5e62e6c

Please sign in to comment.