# A PipelineRun is a run REQUEST: a spec that asks for an execution. It carries no `status`
# block, because a completed run's status is a record of what happened and belongs with test and
# CI report fixtures, not with pipeline definitions.
apiVersion: tekton.dev/v1
kind: PipelineRun
metadata:
  generateName: build-and-verify-
  namespace: example-apps
spec:
  pipelineRef:
    name: build-and-verify
  params:
    - name: revision
      value: v1.4.0
  timeouts:
    pipeline: 1h0m0s
    tasks: 45m
  taskRunTemplate:
    serviceAccountName: example-build
  workspaces:
    - name: shared
      volumeClaimTemplate:
        spec:
          accessModes:
            - ReadWriteOnce
          resources:
            requests:
              storage: 1Gi
