-
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.
Add git-resolver/PipelineTask example to tests
This uses `test/git-resolver/remote-task.yaml` as the remote task. Signed-off-by: Andrew Bayer <andrew.bayer@gmail.com>
- Loading branch information
Showing
2 changed files
with
35 additions
and
48 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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
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: task1 | ||
workspaces: | ||
- name: output | ||
taskRef: | ||
resolver: git | ||
params: | ||
- name: url | ||
value: https://github.com/tektoncd/catalog.git | ||
- name: pathInRepo | ||
value: /task/git-clone/0.7/git-clone.yaml | ||
- name: revision | ||
value: main | ||
params: | ||
- name: url | ||
value: https://github.com/tektoncd/catalog | ||
- name: deleteExisting | ||
value: "true" |
This file was deleted.
Oops, something went wrong.