1+ # This file is generated from task/git-clone/git-clone.yaml
2+ # Do not edit directly — run: ./hack/generate-stepaction.sh
13apiVersion : tekton.dev/v1beta1
24kind : StepAction
35metadata :
6+ name : git-clone
7+ labels :
8+ app.kubernetes.io/version : " 1.6.1"
49 annotations :
510 artifacthub.io/category : integration-delivery
611 artifacthub.io/changes : |
7- - kind: added
8- description: Added a new git-clone StepAction generated from the Task.
9- - kind: added
10- description: Added StepAction test coverage and integrated StepAction bundle publishing into release flow.
11- - kind: added
12- description: Added task signing support to the release process and included a public signing key.
12+ - kind: fixed
13+ description: release script signing and bundle workflow
14+ - kind: fixed
15+ description: release script version detection and signing
16+ - kind: fixed
17+ description: strip spurious resources: {} from signed task YAMLs
18+ - kind: fixed
19+ description: strip spurious resources: {} from signed task YAML
1320 - kind: changed
14- description: Updated Task and StepAction READMEs for Artifact Hub metadata and usage clarity.
21+ description: set Artifact Hub repository ID for StepAction
1522 - kind: changed
16- description: Added parameter and result reference tables to the StepAction README.
17- - kind: fixed
18- description: Fixed changelog normalization in the release script to correctly handle backticks.
23+ description: add Artifact Hub metadata for StepAction repository
1924 artifacthub.io/license : Apache-2.0
2025 artifacthub.io/links : |
2126 - name: support
@@ -33,34 +38,29 @@ metadata:
3338 tekton.dev/displayName : git clone
3439 tekton.dev/pipelines.minVersion : 1.0.0
3540 tekton.dev/platforms : linux/amd64,linux/s390x,linux/ppc64le,linux/arm64
36- tekton.dev/signature : MEUCIDkryxW5p1Gnz7Tm/+PEvcBU/Jf1AbwoUAN15f5xrCvNAiEAuP2EdMZcX6VrkPJqfNBAPiKVp6PW+IVM2n7zo/NyDZU=
41+ tekton.dev/signature : MEYCIQD2ne687n9f3kW46OcppHMQMu7+j2LU9tosGd9Kc5QcYgIhAMq1uNF8VIUwu2K8w4ZDacCtPiyf8lFFBRrMVpKsUa1C
3742 tekton.dev/tags : git
3843 labels :
39- app.kubernetes.io/version : 1.6.0
44+ app.kubernetes.io/version : " 1.6.1 "
4045 name : git-clone
4146spec :
42- description : This StepAction clones a git repository for use by other steps in your
43- Pipeline. It clones a repo from the provided url into the output path. By default
44- the repo will be cloned into the root of the provided path. You can clone into
45- a subdirectory by setting this StepAction's subdirectory param. It also supports
46- sparse checkouts. To perform a sparse checkout, pass a list of comma separated
47- directory patterns to this StepAction's sparseCheckoutDirectories param.
47+ description : >-
4848 params :
49- - description : The git repo will be cloned onto this path.
50- name : output- path
51- type : string
52- - default : " "
53- description : |
54- A .ssh directory with private key, known_hosts, config, etc.
55- name : ssh-directory-path
56- - default : " "
57- description : |
58- A directory path containing a .gitconfig and .git-credentials file.
59- name : basic-auth-path
60- - default : " "
61- description : |
62- A directory containing CA certificates for HTTPS verification.
63- name : ssl-ca-directory-path
49+ - name : output- path
50+ description : The git repo will be cloned onto this path.
51+ type : string
52+ - name : ssh-directory-path
53+ description : |
54+ A .ssh directory with private key, known_hosts, config, etc.
55+ default : " "
56+ - name : basic-auth-path
57+ description : |
58+ A directory path containing a .gitconfig and .git-credentials file.
59+ default : " "
60+ - name : ssl-ca-directory-path
61+ description : |
62+ A directory containing CA certificates for HTTPS verification.
63+ default : " "
6464 - description : Repository URL to clone from.
6565 name : url
6666 type : string
@@ -130,7 +130,7 @@ spec:
130130 Print user-friendly error messages with actionable hints and reproduction commands when git operations fail. Set to "false" to disable.
131131 name : userFriendlyErrors
132132 type : string
133- - default : ghcr.io/tektoncd-catalog/git-clone:v1.6.0
133+ - default : ghcr.io/tektoncd-catalog/git-clone:v1.6.1
134134 description : The image providing the git-init binary that this StepAction runs.
135135 name : gitInitImage
136136 type : string
@@ -146,3 +146,53 @@ spec:
146146 name : url
147147 - description : The epoch timestamp of the commit that was fetched by this StepAction.
148148 name : committer-date
149+ image : " $(params.gitInitImage)"
150+ env :
151+ - name : HOME
152+ value : " $(params.userHome)"
153+ - name : PARAM_URL
154+ value : $(params.url)
155+ - name : PARAM_REVISION
156+ value : $(params.revision)
157+ - name : PARAM_REFSPEC
158+ value : $(params.refspec)
159+ - name : PARAM_SUBMODULES
160+ value : $(params.submodules)
161+ - name : PARAM_SUBMODULE_PATHS
162+ value : $(params.submodulePaths)
163+ - name : PARAM_DEPTH
164+ value : $(params.depth)
165+ - name : PARAM_SSL_VERIFY
166+ value : $(params.sslVerify)
167+ - name : PARAM_CRT_FILENAME
168+ value : $(params.crtFileName)
169+ - name : PARAM_SUBDIRECTORY
170+ value : $(params.subdirectory)
171+ - name : PARAM_DELETE_EXISTING
172+ value : $(params.deleteExisting)
173+ - name : PARAM_HTTP_PROXY
174+ value : $(params.httpProxy)
175+ - name : PARAM_HTTPS_PROXY
176+ value : $(params.httpsProxy)
177+ - name : PARAM_NO_PROXY
178+ value : $(params.noProxy)
179+ - name : PARAM_VERBOSE
180+ value : $(params.verbose)
181+ - name : PARAM_USER_FRIENDLY_ERRORS
182+ value : $(params.userFriendlyErrors)
183+ - name : PARAM_SPARSE_CHECKOUT_DIRECTORIES
184+ value : $(params.sparseCheckoutDirectories)
185+ - name : PARAM_USER_HOME
186+ value : $(params.userHome)
187+ - name : PARAM_OUTPUT_PATH
188+ value : $(params.output-path)
189+ - name : PARAM_SSH_DIRECTORY_PATH
190+ value : $(params.ssh-directory-path)
191+ - name : PARAM_BASIC_AUTH_DIRECTORY_PATH
192+ value : $(params.basic-auth-path)
193+ - name : PARAM_SSL_CA_DIRECTORY_PATH
194+ value : $(params.ssl-ca-directory-path)
195+ securityContext :
196+ runAsNonRoot : true
197+ runAsUser : 65532
198+ script : |
0 commit comments