Set test pipeline back to success. Add test run.

This commit is contained in:
James Pace 2023-04-13 19:54:19 -04:00
parent 4fee3a9ff8
commit c452802d9e
2 changed files with 21 additions and 1 deletions

View File

@ -38,7 +38,7 @@ spec:
script: |
set -x
cat $(workspaces.source.path)/README.md
exit -1
exit 0
finally:
- name: gitea-status
params:

20
runs/test-run.yaml Normal file
View File

@ -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