Skip to content

Commit

Permalink
example workflow for scorecard
Browse files Browse the repository at this point in the history
  • Loading branch information
northdpole committed Oct 25, 2024
1 parent 8e9f06c commit a298426
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
11 changes: 11 additions & 0 deletions examples/pipelines/scorecard-project/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
nameSuffix: -scorecard-project
components:
- pkg:helm/smithy-security-oss-components/base
- components/producers/ossf-scorecard
- pkg:helm/smithy-security-oss-components/producer-aggregator
- pkg:helm/smithy-security-oss-components/enricher-custom-annotation
- pkg:helm/smithy-security-oss-components/enricher-aggregator
- pkg:helm/smithy-security-oss-components/consumer-stdout-json
24 changes: 24 additions & 0 deletions examples/pipelines/scorecard-project/pipelinerun.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
apiVersion: tekton.dev/v1beta1
kind: PipelineRun
metadata:
generateName: smithy-scorecard-project-
spec:
pipelineRef:
name: smithy-scorecard-project
params:
- name: producer-ossf-scorecard-input-repo
value: https://github.com/smithy-security/smithy
- name: producer-ossf-scorecard-github-auth-token
value: $github-auth-token-permissions-to-read-repos
- name: enricher-custom-annotation-base-annotation
value: '{"foo":"bar","a":"b","1":"2"}'
workspaces:
- name: output
volumeClaimTemplate:
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi

0 comments on commit a298426

Please sign in to comment.