---
apiVersion: tekton.dev/v1beta1
kind: PipelineRun
metadata:
  name: pr-test1
spec:
  pipelineRef:
    name: pipeline-test1
  params:
    - name: key
      value: "{{value}}"
---
apiVersion: tekton.dev/v1beta1
kind: Pipeline
metadata:
  name: pipeline-test1
spec:
  params:
    - name: repo_url
    - name: revision
  tasks:
    - name: task-of-pipeline-test1
      taskSpec:
        steps:
          - name: first-step
            image: image1
    - name: task-of-pipeline-test2
      taskRef:
        name: task-test2
    - name: task-of-pipeline-test3
      taskRef:
        name: task-test3
  steps:
    - name: first-step
      image: image
---
apiVersion: tekton.dev/v1beta1
kind: Task
metadata:
  name: task-test2
spec:
  steps:
    - name: second-step
      image: image
---
apiVersion: tekton.dev/v1beta1
kind: Task
metadata:
  name: task-test3
spec:
  steps:
    - name: second-step
      image: image
