diff --git a/examples/pipelines/rails-project/kustomization.yaml b/examples/pipelines/rails-project/kustomization.yaml new file mode 100644 index 000000000..b01721a5a --- /dev/null +++ b/examples/pipelines/rails-project/kustomization.yaml @@ -0,0 +1,13 @@ +--- +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +nameSuffix: -rails-project +components: + - pkg:helm/dracon-oss-components/base + - pkg:helm/dracon-oss-components/git-clone + - components/producers/brakeman + - 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-mongodb + - pkg:helm/dracon-oss-components/consumer-elasticsearch diff --git a/examples/pipelines/rails-project/pipelinerun.yaml b/examples/pipelines/rails-project/pipelinerun.yaml new file mode 100644 index 000000000..feed19ab7 --- /dev/null +++ b/examples/pipelines/rails-project/pipelinerun.yaml @@ -0,0 +1,22 @@ +--- +apiVersion: tekton.dev/v1beta1 +kind: PipelineRun +metadata: + generateName: dracon-rails-project- +spec: + pipelineRef: + name: dracon-rails-project + params: + - name: git-clone-url + value: https://github.com/guilleiguaran/dvra + - name: git-clone-subdirectory + value: source-code + workspaces: + - name: output + volumeClaimTemplate: + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi