Skip to content

Commit

Permalink
Try switching to what we know works in pipelinerun_test
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Bayer <andrew.bayer@gmail.com>
  • Loading branch information
abayer committed Oct 5, 2022
1 parent 8b707e5 commit e901094
Showing 1 changed file with 23 additions and 6 deletions.
29 changes: 23 additions & 6 deletions examples/v1beta1/pipelineruns/alpha/git-resolver.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,36 @@
# NOTE: The referenced Pipeline requires that the git-clone, buildpacks, and buildpacks-phase tasks from the Hub
# are available in the namespace.
apiVersion: tekton.dev/v1beta1
kind: PipelineRun
metadata:
generateName: git-resolver-
spec:
workspaces:
- name: output # this workspace name must be declared in the Pipeline
volumeClaimTemplate:
spec:
accessModes:
- ReadWriteOnce # access mode may affect how you can use this volume in parallel tasks
resources:
requests:
storage: 1Gi
pipelineSpec:
workspaces:
- name: output
tasks:
- name: remote-task
- name: task1
workspaces:
- name: output
taskRef:
resolver: git
params:
- name: url
value: https://github.com/tektoncd/pipeline.git
value: https://github.com/tektoncd/catalog.git
- name: pathInRepo
value: /task/git-clone/0.7/git-clone.yaml
- name: revision
value: main
- name: pathInRepo
value: test/git-resolver/remote-task.yaml
params:
params:
- name: url
value: https://github.com/tektoncd/catalog
- name: deleteExisting
value: "true"

0 comments on commit e901094

Please sign in to comment.