diff --git a/examples/pipelines/machine-learning-project/kustomization.yaml b/examples/pipelines/machine-learning-project/kustomization.yaml new file mode 100644 index 000000000..509311b43 --- /dev/null +++ b/examples/pipelines/machine-learning-project/kustomization.yaml @@ -0,0 +1,12 @@ +--- +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +nameSuffix: -machine-learning-project +components: + - pkg:helm/dracon-oss-components/base + - pkg:helm/dracon-oss-components/git-clone + - pkg:helm/dracon-oss-components/producer-modelscan + - pkg:helm/dracon-oss-components/producer-aggregator + - pkg:helm/dracon-oss-components/enricher-codeowners + - pkg:helm/dracon-oss-components/enricher-aggregator + - pkg:helm/dracon-oss-components/consumer-stdout-json diff --git a/examples/pipelines/machine-learning-project/pipelinerun.yaml b/examples/pipelines/machine-learning-project/pipelinerun.yaml new file mode 100644 index 000000000..e0620a65b --- /dev/null +++ b/examples/pipelines/machine-learning-project/pipelinerun.yaml @@ -0,0 +1,22 @@ +--- +apiVersion: tekton.dev/v1beta1 +kind: PipelineRun +metadata: + generateName: dracon-machine-learning-project- +spec: + pipelineRef: + name: dracon-machine-learning-project + params: + - name: git-clone-url + value: https://github.com/ocurity/e2e-monorepo.git + - name: producer-modelscan-relative-path-to-model + value: "vulnerable-ml-models/unsafe_xgboost_model.pkl" + workspaces: + - name: output + volumeClaimTemplate: + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi