Skip to content

Commit c9b015e

Browse files
authored
Use bundles resolver instead of http for git-clone (knative#3365)
* Use bundles resolver instead of http for git-clone Signed-off-by: Matej Vašek <[email protected]> * remove invalid param Signed-off-by: Matej Vašek <[email protected]> --------- Signed-off-by: Matej Vašek <[email protected]>
1 parent 96e0619 commit c9b015e

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

pkg/pipelines/tekton/tasks.go

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,14 @@ spec:
103103
104104
- name: fetch-src
105105
ref:
106-
resolver: http
106+
resolver: bundles
107107
params:
108-
- name: url
109-
value: https://raw.githubusercontent.com/tektoncd/catalog/c9818f3d/stepaction/git-clone/0.2/git-clone.yaml
108+
- name: bundle
109+
value: ghcr.io/tektoncd/catalog/upstream/stepactions/git-clone:09f70e6a6485a7d99b01d75610870b13222732e8
110+
- name: kind
111+
value: StepAction
112+
- name: name
113+
value: git-clone
110114
when:
111115
- input: "$(params.GIT_REPOSITORY)"
112116
operator: notin
@@ -354,10 +358,14 @@ spec:
354358
355359
- name: fetch-src
356360
ref:
357-
resolver: http
361+
resolver: bundles
358362
params:
359-
- name: url
360-
value: https://raw.githubusercontent.com/tektoncd/catalog/c9818f3d/stepaction/git-clone/0.2/git-clone.yaml
363+
- name: bundle
364+
value: ghcr.io/tektoncd/catalog/upstream/stepactions/git-clone:09f70e6a6485a7d99b01d75610870b13222732e8
365+
- name: kind
366+
value: StepAction
367+
- name: name
368+
value: git-clone
361369
when:
362370
- input: "$(params.GIT_REPOSITORY)"
363371
operator: notin

0 commit comments

Comments
 (0)