Skip to content

Commit a39f265

Browse files
committed
chore: bump version to v1.6.1
Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
1 parent e082053 commit a39f265

3 files changed

Lines changed: 94 additions & 48 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ taskRef:
1919
resolver: bundles
2020
params:
2121
- name: bundle
22-
value: ghcr.io/tektoncd-catalog/git-clone/bundle:v1.6.0
22+
value: ghcr.io/tektoncd-catalog/git-clone/bundle:v1.6.1
2323
- name: name
2424
value: git-clone
2525
- name: kind

stepaction/git-clone/git-clone.yaml

Lines changed: 82 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,24 @@
1+
# This file is generated from task/git-clone/git-clone.yaml
2+
# Do not edit directly — run: ./hack/generate-stepaction.sh
13
apiVersion: tekton.dev/v1beta1
24
kind: StepAction
35
metadata:
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 version detection and signing
14+
- kind: fixed
15+
description: strip spurious resources: {} from signed task YAMLs
16+
- kind: fixed
17+
description: strip spurious resources: {} from signed task YAML
1318
- kind: changed
14-
description: Updated Task and StepAction READMEs for Artifact Hub metadata and usage clarity.
19+
description: set Artifact Hub repository ID for StepAction
1520
- 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.
21+
description: add Artifact Hub metadata for StepAction repository
1922
artifacthub.io/license: Apache-2.0
2023
artifacthub.io/links: |
2124
- name: support
@@ -33,34 +36,29 @@ metadata:
3336
tekton.dev/displayName: git clone
3437
tekton.dev/pipelines.minVersion: 1.0.0
3538
tekton.dev/platforms: linux/amd64,linux/s390x,linux/ppc64le,linux/arm64
36-
tekton.dev/signature: MEUCIDkryxW5p1Gnz7Tm/+PEvcBU/Jf1AbwoUAN15f5xrCvNAiEAuP2EdMZcX6VrkPJqfNBAPiKVp6PW+IVM2n7zo/NyDZU=
39+
tekton.dev/signature: MEYCIQD2ne687n9f3kW46OcppHMQMu7+j2LU9tosGd9Kc5QcYgIhAMq1uNF8VIUwu2K8w4ZDacCtPiyf8lFFBRrMVpKsUa1C
3740
tekton.dev/tags: git
3841
labels:
39-
app.kubernetes.io/version: 1.6.0
42+
app.kubernetes.io/version: "1.6.1"
4043
name: git-clone
4144
spec:
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.
45+
description: >-
4846
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
47+
- name: output-path
48+
description: The git repo will be cloned onto this path.
49+
type: string
50+
- name: ssh-directory-path
51+
description: |
52+
A .ssh directory with private key, known_hosts, config, etc.
53+
default: ""
54+
- name: basic-auth-path
55+
description: |
56+
A directory path containing a .gitconfig and .git-credentials file.
57+
default: ""
58+
- name: ssl-ca-directory-path
59+
description: |
60+
A directory containing CA certificates for HTTPS verification.
61+
default: ""
6462
- description: Repository URL to clone from.
6563
name: url
6664
type: string
@@ -130,7 +128,7 @@ spec:
130128
Print user-friendly error messages with actionable hints and reproduction commands when git operations fail. Set to "false" to disable.
131129
name: userFriendlyErrors
132130
type: string
133-
- default: ghcr.io/tektoncd-catalog/git-clone:v1.6.0
131+
- default: ghcr.io/tektoncd-catalog/git-clone:v1.6.1
134132
description: The image providing the git-init binary that this StepAction runs.
135133
name: gitInitImage
136134
type: string
@@ -146,3 +144,53 @@ spec:
146144
name: url
147145
- description: The epoch timestamp of the commit that was fetched by this StepAction.
148146
name: committer-date
147+
image: "$(params.gitInitImage)"
148+
env:
149+
- name: HOME
150+
value: "$(params.userHome)"
151+
- name: PARAM_URL
152+
value: $(params.url)
153+
- name: PARAM_REVISION
154+
value: $(params.revision)
155+
- name: PARAM_REFSPEC
156+
value: $(params.refspec)
157+
- name: PARAM_SUBMODULES
158+
value: $(params.submodules)
159+
- name: PARAM_SUBMODULE_PATHS
160+
value: $(params.submodulePaths)
161+
- name: PARAM_DEPTH
162+
value: $(params.depth)
163+
- name: PARAM_SSL_VERIFY
164+
value: $(params.sslVerify)
165+
- name: PARAM_CRT_FILENAME
166+
value: $(params.crtFileName)
167+
- name: PARAM_SUBDIRECTORY
168+
value: $(params.subdirectory)
169+
- name: PARAM_DELETE_EXISTING
170+
value: $(params.deleteExisting)
171+
- name: PARAM_HTTP_PROXY
172+
value: $(params.httpProxy)
173+
- name: PARAM_HTTPS_PROXY
174+
value: $(params.httpsProxy)
175+
- name: PARAM_NO_PROXY
176+
value: $(params.noProxy)
177+
- name: PARAM_VERBOSE
178+
value: $(params.verbose)
179+
- name: PARAM_USER_FRIENDLY_ERRORS
180+
value: $(params.userFriendlyErrors)
181+
- name: PARAM_SPARSE_CHECKOUT_DIRECTORIES
182+
value: $(params.sparseCheckoutDirectories)
183+
- name: PARAM_USER_HOME
184+
value: $(params.userHome)
185+
- name: PARAM_OUTPUT_PATH
186+
value: $(params.output-path)
187+
- name: PARAM_SSH_DIRECTORY_PATH
188+
value: $(params.ssh-directory-path)
189+
- name: PARAM_BASIC_AUTH_DIRECTORY_PATH
190+
value: $(params.basic-auth-path)
191+
- name: PARAM_SSL_CA_DIRECTORY_PATH
192+
value: $(params.ssl-ca-directory-path)
193+
securityContext:
194+
runAsNonRoot: true
195+
runAsUser: 65532
196+
script: |

task/git-clone/git-clone.yaml

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,16 @@ metadata:
44
annotations:
55
artifacthub.io/category: integration-delivery
66
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.
7+
- kind: fixed
8+
description: release script version detection and signing
9+
- kind: fixed
10+
description: strip spurious resources: {} from signed task YAMLs
11+
- kind: fixed
12+
description: strip spurious resources: {} from signed task YAML
1313
- kind: changed
14-
description: Updated Task and StepAction READMEs for Artifact Hub metadata and usage clarity.
14+
description: set Artifact Hub repository ID for StepAction
1515
- 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.
16+
description: add Artifact Hub metadata for StepAction repository
1917
artifacthub.io/license: Apache-2.0
2018
artifacthub.io/links: |
2119
- name: support
@@ -33,10 +31,10 @@ metadata:
3331
tekton.dev/displayName: git clone
3432
tekton.dev/pipelines.minVersion: 1.0.0
3533
tekton.dev/platforms: linux/amd64,linux/s390x,linux/ppc64le,linux/arm64
36-
tekton.dev/signature: MEYCIQD2ne687n9f3kW46OcppHMQMu7+j2LU9tosGd9Kc5QcYgIhAMq1uNF8VIUwu2K8w4ZDacCtPiyf8lFFBRrMVpKsUa1C
34+
tekton.dev/signature: MEYCIQDzgnBgOPI+sUrI8jK09hdI11tiilTpYmQuDVAMgqtfbwIhAPnGSiWA8jkG3VpSJDLK8MI5xBo6BGkI1MLgyFjxnApx
3735
tekton.dev/tags: git
3836
labels:
39-
app.kubernetes.io/version: 1.6.0
37+
app.kubernetes.io/version: 1.6.1
4038
name: git-clone
4139
spec:
4240
description: |-
@@ -112,7 +110,7 @@ spec:
112110
Print user-friendly error messages with actionable hints and reproduction commands when git operations fail. Set to "false" to disable.
113111
name: userFriendlyErrors
114112
type: string
115-
- default: ghcr.io/tektoncd-catalog/git-clone:v1.6.0
113+
- default: ghcr.io/tektoncd-catalog/git-clone:v1.6.1
116114
description: The image providing the git-init binary that this Task runs.
117115
name: gitInitImage
118116
type: string

0 commit comments

Comments
 (0)