-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try switching to what we know works in pipelinerun_test
Signed-off-by: Andrew Bayer <andrew.bayer@gmail.com>
- Loading branch information
Showing
1 changed file
with
23 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |