From c452802d9e1ca23b07ddea72adb61acdd0023ad9 Mon Sep 17 00:00:00 2001 From: James Pace Date: Thu, 13 Apr 2023 19:54:19 -0400 Subject: [PATCH] Set test pipeline back to success. Add test run. --- generic-pipelines/test-pipeline.yaml | 2 +- runs/test-run.yaml | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 runs/test-run.yaml diff --git a/generic-pipelines/test-pipeline.yaml b/generic-pipelines/test-pipeline.yaml index 63d3d19..7576e73 100644 --- a/generic-pipelines/test-pipeline.yaml +++ b/generic-pipelines/test-pipeline.yaml @@ -38,7 +38,7 @@ spec: script: | set -x cat $(workspaces.source.path)/README.md - exit -1 + exit 0 finally: - name: gitea-status params: diff --git a/runs/test-run.yaml b/runs/test-run.yaml new file mode 100644 index 0000000..87f0e59 --- /dev/null +++ b/runs/test-run.yaml @@ -0,0 +1,20 @@ +apiVersion: tekton.dev/v1beta1 +kind: PipelineRun +metadata: + generateName: test-run- + namespace: j7s-ci +spec: + pipelineRef: + name: test-pipeline + workspaces: + - name: shared-data + volumeClaimTemplate: + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi + - name: git-credentials + secret: + secretName: git-credentials \ No newline at end of file