# apiVersion: tekton.dev/v1alpha1
# kind: PipelineResource
# metadata:
#   name: tekton-pipelines-git
# spec:
#   type: git
#   params:
#   - name: url
#     value: https://github.com/tektoncd/pipeline
#   - name: revision
#     value: vX.Y.Z-invalid-tags-boouuhhh  # REPLACE with the commit you want to release
# ---
# apiVersion: tekton.dev/v1alpha1
# kind: PipelineResource
# metadata:
#   name: post-release-trigger
# spec:
#   type: cloudEvent
#   params:
#   - name: targetURI
#     value: http://post-release-trigger-sink  # This has to be changed to a valid URL
# ---
apiVersion: tekton.dev/v1alpha1
kind: PipelineResource
metadata:
  name: pipeline-tekton-bucket
spec:
  type: storage
  params:
  - name: type
    value: gcs
  - name: location
    value: gs://tekton-releases/pipeline
  - name: dir
    value: "y"
---
apiVersion: tekton.dev/v1alpha1
kind: PipelineResource
metadata:
  name: pipeline-tekton-bucket-nightly
spec:
  type: storage
  params:
  - name: type
    value: gcs
  - name: location
    value: gs://tekton-releases-nightly
  - name: dir
    value: "y"
---
apiVersion: tekton.dev/v1alpha1
kind: PipelineResource
metadata:
  name: base-image
spec:
  type: image
  params:
  - name: url
    value: build-base  # Registry is provided via parameter, this is a hack see #569
---
apiVersion: tekton.dev/v1alpha1
kind: PipelineResource
metadata:
  name: entrypoint-image
spec:
  type: image
  params:
  - name: url
    value: cmd/entrypoint  # Registry is provided via parameter, this is a hack see #569
---
apiVersion: tekton.dev/v1alpha1
kind: PipelineResource
metadata:
  name: kubeconfigwriter-image
spec:
  type: image
  params:
  - name: url
    value: cmd/kubeconfigwriter  # Registry is provided via parameter, this is a hack see #569
---
apiVersion: tekton.dev/v1alpha1
kind: PipelineResource
metadata:
  name: creds-init-image
spec:
  type: image
  params:
  - name: url
    value: cmd/creds-init  # Registry is provided via parameter, this is a hack see #569
---
apiVersion: tekton.dev/v1alpha1
kind: PipelineResource
metadata:
  name: git-init-image
spec:
  type: image
  params:
  - name: url
    value: cmd/git-init  # Registry is provided via parameter, this is a hack see #569
---
apiVersion: tekton.dev/v1alpha1
kind: PipelineResource
metadata:
  name: controller-image
spec:
  type: image
  params:
  - name: url
    value: cmd/controller  # Registry is provided via parameter, this is a hack see #569
---
apiVersion: tekton.dev/v1alpha1
kind: PipelineResource
metadata:
  name: webhook-image
spec:
  type: image
  params:
  - name: url
    value: cmd/webhook  # Registry is provided via parameter, this is a hack see #569
---
apiVersion: tekton.dev/v1alpha1
kind: PipelineResource
metadata:
  name: digest-exporter-image
spec:
  type: image
  params:
  - name: url
    value: cmd/imagedigestexporter  # Registry is provided via parameter, this is a hack see #569
---
apiVersion: tekton.dev/v1alpha1
kind: PipelineResource
metadata:
  name: pull-request-init-image
spec:
  type: image
  params:
  - name: url
    value: cmd/pullrequest-init  # Registry is provided via parameter, this is a hack see #569
---
apiVersion: tekton.dev/v1alpha1
kind: PipelineResource
metadata:
  name: gcs-fetcher-image
spec:
  type: image
  params:
  - name: url
    value: vendor/github.com/googlecloudplatform/cloud-builders/gcs-fetcher/cmd/gcs-fetcher  # Registry is provided via parameter, this is a hack see #569
