Skip to content

Commit

Permalink
example snyk workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
northdpole committed Sep 18, 2024
1 parent 5ba1adf commit 8bd6e2d
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
12 changes: 12 additions & 0 deletions examples/pipelines/snyk-project/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
nameSuffix: -snyk-semgrep-project
components:
- pkg:helm/dracon-oss-components/base
- pkg:helm/dracon-oss-components/git-clone
- pkg:helm/dracon-oss-components/producers/snyk
- pkg:helm/dracon-oss-components/producer-aggregator
- pkg:helm/dracon-oss-components/enricher-deduplication
- pkg:helm/dracon-oss-components/enricher-aggregator
- pkg:helm/dracon-oss-components/consumer-stdout-json
26 changes: 26 additions & 0 deletions examples/pipelines/snyk-project/pipelinerun.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
apiVersion: tekton.dev/v1beta1
kind: PipelineRun
metadata:
generateName: dracon-snyk-semgrep-project-
spec:
pipelineRef:
name: dracon-snyk-semgrep-project
params:
- name: git-clone-url
value: https://github.com/sqreen/go-dvwa.git
- name: git-clone-subdirectory
value: source-code
- name: producer-snyk-docker-api-key
value: ""
- name: producer-snyk-docker-image
value: ubuntu
workspaces:
- name: output
volumeClaimTemplate:
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi

0 comments on commit 8bd6e2d

Please sign in to comment.