Skip to content

Commit 67f0c27

Browse files
openshift-pipelines-botsavitaashture
openshift-pipelines-bot
authored andcommitted
[bot] Update main from tektoncd/pipeline to 23b3dee
$ git diff --stat 23b3dee..5b082b1 .github/workflows/codeql-analysis.yml | 4 +- .github/workflows/scorecard.yml | 4 +- config/300-crds/300-clustertask.yaml | 4479 +----------- config/300-crds/300-customrun.yaml | 835 +-- config/300-crds/300-pipeline.yaml | 1570 +---- config/300-crds/300-pipelinerun.yaml | 6084 +--------------- config/300-crds/300-resolutionrequest.yaml | 246 +- config/300-crds/300-stepaction.yaml | 1128 +-- config/300-crds/300-task.yaml | 7318 +------------------ config/300-crds/300-taskrun.yaml | 7379 +------------------- config/300-crds/300-verificationpolicy.yaml | 124 +- docs/artifacts.md | 46 +- docs/pipeline-api.md | 82 +- .../v1/pipelineruns/alpha/stepaction-params.yaml | 2 +- .../v1/taskruns/beta/stepaction-git-resolver.yaml | 2 +- examples/v1/taskruns/beta/stepaction-params.yaml | 2 +- .../taskruns/beta/stepaction-passing-results.yaml | 2 +- examples/v1/taskruns/beta/stepaction-results.yaml | 2 +- examples/v1/taskruns/beta/stepaction.yaml | 2 +- examples/v1/taskruns/default_task_params.yaml | 27 - go.mod | 4 +- go.sum | 4 +- hack/update-codegen.sh | 3 - hack/update-schemas.sh | 78 - hack/verify-codegen.sh | 5 - pkg/apis/config/feature_flags.go | 48 +- pkg/apis/pipeline/pod/template.go | 8 +- pkg/apis/pipeline/v1/artifact_types.go | 4 +- pkg/apis/pipeline/v1/matrix_types.go | 1 - pkg/apis/pipeline/v1/openapi_generated.go | 32 +- pkg/apis/pipeline/v1/param_types.go | 8 +- pkg/apis/pipeline/v1/pipeline_types.go | 12 +- pkg/apis/pipeline/v1/pipelinerun_types.go | 12 +- pkg/apis/pipeline/v1/result_types.go | 4 - pkg/apis/pipeline/v1/swagger.json | 28 +- pkg/apis/pipeline/v1/task_types.go | 3 - pkg/apis/pipeline/v1/taskrun_types.go | 9 +- pkg/apis/pipeline/v1/workspace_types.go | 3 - pkg/apis/pipeline/v1alpha1/openapi_generated.go | 4 +- pkg/apis/pipeline/v1alpha1/swagger.json | 4 +- pkg/apis/pipeline/v1beta1/matrix_types.go | 1 - pkg/apis/pipeline/v1beta1/openapi_generated.go | 30 +- pkg/apis/pipeline/v1beta1/param_types.go | 8 +- pkg/apis/pipeline/v1beta1/pipeline_types.go | 14 +- pkg/apis/pipeline/v1beta1/pipelinerun_types.go | 12 +- pkg/apis/pipeline/v1beta1/result_types.go | 4 - pkg/apis/pipeline/v1beta1/swagger.json | 30 +- pkg/apis/pipeline/v1beta1/task_types.go | 3 - pkg/apis/pipeline/v1beta1/taskrun_types.go | 13 +- pkg/apis/pipeline/v1beta1/workspace_types.go | 3 - .../v1alpha1/resolution_request_types.go | 2 - .../resolution/v1beta1/resolution_request_types.go | 4 - pkg/apis/run/v1beta1/customrunstatus_types.go | 5 - pkg/pipelinerunmetrics/metrics_test.go | 276 +- pkg/pod/status.go | 2 +- pkg/reconciler/taskrun/resources/taskref.go | 14 +- pkg/reconciler/taskrun/resources/taskref_test.go | 53 +- pkg/reconciler/taskrun/resources/taskspec.go | 2 +- pkg/reconciler/taskrun/taskrun.go | 1 - pkg/reconciler/taskrun/taskrun_test.go | 60 +- pkg/spire/verify.go | 1 + releases.md | 15 - tekton/publish.yaml | 6 +- test/clients.go | 8 - test/conversion_test.go | 39 - test/custom_task_test.go | 20 +- test/taskrun_test.go | 98 - vendor/github.com/google/cel-go/cel/BUILD.bazel | 1 - vendor/github.com/google/cel-go/cel/decls.go | 42 - vendor/github.com/google/cel-go/cel/env.go | 216 +- vendor/github.com/google/cel-go/cel/library.go | 318 +- vendor/github.com/google/cel-go/cel/options.go | 225 +- vendor/github.com/google/cel-go/cel/program.go | 61 +- vendor/github.com/google/cel-go/cel/validator.go | 70 +- .../google/cel-go/checker/decls/decls.go | 4 +- vendor/github.com/google/cel-go/common/ast/ast.go | 78 - .../google/cel-go/common/ast/navigable.go | 7 +- .../google/cel-go/common/containers/container.go | 14 +- .../github.com/google/cel-go/common/decls/decls.go | 63 - .../google/cel-go/common/env/BUILD.bazel | 49 - vendor/github.com/google/cel-go/common/env/env.go | 863 --- .../google/cel-go/common/stdlib/standard.go | 212 +- .../github.com/google/cel-go/common/types/types.go | 4 +- .../google/cel-go/interpreter/activation.go | 13 +- .../cel-go/interpreter/attribute_patterns.go | 2 +- .../google/cel-go/interpreter/interpretable.go | 6 +- vendor/modules.txt | 3 +- 87 files changed, 1039 insertions(+), 31548 deletions(-) https://github.com/tektoncd/pipeline/compare/23b3deefcea58e469e5775c4b39f6657dc80b538..5b082b1106753e093593d12152c82e1c4b0f37e5
1 parent 970d785 commit 67f0c27

File tree

88 files changed

+31549
-1040
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+31549
-1040
lines changed

head

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5b082b1106753e093593d12152c82e1c4b0f37e5
1+
23b3deefcea58e469e5775c4b39f6657dc80b538

upstream/.github/workflows/codeql-analysis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262

6363
# Initializes the CodeQL tools for scanning.
6464
- name: Initialize CodeQL
65-
uses: github/codeql-action/init@b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d # v3.28.10
65+
uses: github/codeql-action/init@6bb031afdd8eb862ea3fc1848194185e076637e5 # v3.28.11
6666
with:
6767
languages: ${{ matrix.language }}
6868
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -96,4 +96,4 @@ jobs:
9696
make -j 4 all
9797
9898
- name: Perform CodeQL Analysis
99-
uses: github/codeql-action/analyze@b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d # v3.28.10
99+
uses: github/codeql-action/analyze@6bb031afdd8eb862ea3fc1848194185e076637e5 # v3.28.11

upstream/.github/workflows/scorecard.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
persist-credentials: false
3939

4040
- name: "Run analysis"
41-
uses: ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # v2.4.0
41+
uses: ossf/scorecard-action@f49aabe0b5af0936a0987cfb85d86b75731b0186 # v2.4.1
4242
with:
4343
results_file: results.sarif
4444
results_format: sarif
@@ -61,6 +61,6 @@ jobs:
6161

6262
# Upload the results to GitHub's code scanning dashboard.
6363
- name: "Upload to code-scanning"
64-
uses: github/codeql-action/upload-sarif@b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d # v3.28.10
64+
uses: github/codeql-action/upload-sarif@6bb031afdd8eb862ea3fc1848194185e076637e5 # v3.28.11
6565
with:
6666
sarif_file: results.sarif

upstream/config/300-crds/300-clustertask.yaml

+4,459-20
Large diffs are not rendered by default.

upstream/config/300-crds/300-customrun.yaml

+802-33
Large diffs are not rendered by default.

upstream/config/300-crds/300-pipeline.yaml

+1,534-36
Large diffs are not rendered by default.

upstream/config/300-crds/300-pipelinerun.yaml

+6,018-66
Large diffs are not rendered by default.

upstream/config/300-crds/300-resolutionrequest.yaml

+230-16
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,111 @@ spec:
4040
status: {}
4141
schema:
4242
openAPIV3Schema:
43+
description: |-
44+
ResolutionRequest is an object for requesting the content of
45+
a Tekton resource like a pipeline.yaml.
4346
type: object
44-
# One can use x-kubernetes-preserve-unknown-fields: true
45-
# at the root of the schema (and inside any properties, additionalProperties)
46-
# to get the traditional CRD behaviour that nothing is pruned, despite
47-
# setting spec.preserveUnknownProperties: false.
48-
#
49-
# See https://kubernetes.io/blog/2019/06/20/crd-structural-schema/
50-
# See issue: https://github.com/knative/serving/issues/912
51-
x-kubernetes-preserve-unknown-fields: true
47+
properties:
48+
apiVersion:
49+
description: |-
50+
APIVersion defines the versioned schema of this representation of an object.
51+
Servers should convert recognized schemas to the latest internal value, and
52+
may reject unrecognized values.
53+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
54+
type: string
55+
kind:
56+
description: |-
57+
Kind is a string value representing the REST resource this object represents.
58+
Servers may infer this from the endpoint the client submits requests to.
59+
Cannot be updated.
60+
In CamelCase.
61+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
62+
type: string
63+
metadata:
64+
type: object
65+
spec:
66+
description: Spec holds the information for the request part of the resource request.
67+
type: object
68+
properties:
69+
params:
70+
description: |-
71+
Parameters are the runtime attributes passed to
72+
the resolver to help it figure out how to resolve the
73+
resource being requested. For example: repo URL, commit SHA,
74+
path to file, the kind of authentication to leverage, etc.
75+
type: object
76+
additionalProperties:
77+
type: string
78+
status:
79+
description: |-
80+
Status communicates the state of the request and, ultimately,
81+
the content of the resolved resource.
82+
type: object
83+
required:
84+
- data
85+
- refSource
86+
properties:
87+
annotations:
88+
description: |-
89+
Annotations is additional Status fields for the Resource to save some
90+
additional State as well as convey more information to the user. This is
91+
roughly akin to Annotations on any k8s resource, just the reconciler conveying
92+
richer information outwards.
93+
type: object
94+
additionalProperties:
95+
type: string
96+
conditions:
97+
description: Conditions the latest available observations of a resource's current state.
98+
type: array
99+
items:
100+
description: |-
101+
Condition defines a readiness condition for a Knative resource.
102+
See: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties
103+
type: object
104+
required:
105+
- status
106+
- type
107+
properties:
108+
lastTransitionTime:
109+
description: |-
110+
LastTransitionTime is the last time the condition transitioned from one status to another.
111+
We use VolatileTime in place of metav1.Time to exclude this from creating equality.Semantic
112+
differences (all other things held constant).
113+
type: string
114+
message:
115+
description: A human readable message indicating details about the transition.
116+
type: string
117+
reason:
118+
description: The reason for the condition's last transition.
119+
type: string
120+
severity:
121+
description: |-
122+
Severity with which to treat failures of this type of condition.
123+
When this is not specified, it defaults to Error.
124+
type: string
125+
status:
126+
description: Status of the condition, one of True, False, Unknown.
127+
type: string
128+
type:
129+
description: Type of condition.
130+
type: string
131+
data:
132+
description: |-
133+
Data is a string representation of the resolved content
134+
of the requested resource in-lined into the ResolutionRequest
135+
object.
136+
type: string
137+
observedGeneration:
138+
description: |-
139+
ObservedGeneration is the 'Generation' of the Service that
140+
was last processed by the controller.
141+
type: integer
142+
format: int64
143+
refSource:
144+
description: |-
145+
RefSource is the source reference of the remote data that records where the remote
146+
file came from including the url, digest and the entrypoint.
147+
x-kubernetes-preserve-unknown-fields: true
52148
additionalPrinterColumns:
53149
- name: Succeeded
54150
type: string
@@ -63,15 +159,133 @@ spec:
63159
status: {}
64160
schema:
65161
openAPIV3Schema:
162+
description: |-
163+
ResolutionRequest is an object for requesting the content of
164+
a Tekton resource like a pipeline.yaml.
66165
type: object
67-
# One can use x-kubernetes-preserve-unknown-fields: true
68-
# at the root of the schema (and inside any properties, additionalProperties)
69-
# to get the traditional CRD behaviour that nothing is pruned, despite
70-
# setting spec.preserveUnknownProperties: false.
71-
#
72-
# See https://kubernetes.io/blog/2019/06/20/crd-structural-schema/
73-
# See issue: https://github.com/knative/serving/issues/912
74-
x-kubernetes-preserve-unknown-fields: true
166+
properties:
167+
apiVersion:
168+
description: |-
169+
APIVersion defines the versioned schema of this representation of an object.
170+
Servers should convert recognized schemas to the latest internal value, and
171+
may reject unrecognized values.
172+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
173+
type: string
174+
kind:
175+
description: |-
176+
Kind is a string value representing the REST resource this object represents.
177+
Servers may infer this from the endpoint the client submits requests to.
178+
Cannot be updated.
179+
In CamelCase.
180+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
181+
type: string
182+
metadata:
183+
type: object
184+
spec:
185+
description: Spec holds the information for the request part of the resource request.
186+
type: object
187+
properties:
188+
params:
189+
description: |-
190+
Parameters are the runtime attributes passed to
191+
the resolver to help it figure out how to resolve the
192+
resource being requested. For example: repo URL, commit SHA,
193+
path to file, the kind of authentication to leverage, etc.
194+
type: array
195+
items:
196+
description: Param declares an ParamValues to use for the parameter called name.
197+
type: object
198+
required:
199+
- name
200+
- value
201+
properties:
202+
name:
203+
type: string
204+
value:
205+
x-kubernetes-preserve-unknown-fields: true
206+
x-kubernetes-list-type: atomic
207+
url:
208+
description: |-
209+
URL is the runtime url passed to the resolver
210+
to help it figure out how to resolver the resource being
211+
requested.
212+
This is currently at an ALPHA stability level and subject to
213+
alpha API compatibility policies.
214+
type: string
215+
status:
216+
description: |-
217+
Status communicates the state of the request and, ultimately,
218+
the content of the resolved resource.
219+
type: object
220+
required:
221+
- data
222+
- refSource
223+
- source
224+
properties:
225+
annotations:
226+
description: |-
227+
Annotations is additional Status fields for the Resource to save some
228+
additional State as well as convey more information to the user. This is
229+
roughly akin to Annotations on any k8s resource, just the reconciler conveying
230+
richer information outwards.
231+
type: object
232+
additionalProperties:
233+
type: string
234+
conditions:
235+
description: Conditions the latest available observations of a resource's current state.
236+
type: array
237+
items:
238+
description: |-
239+
Condition defines a readiness condition for a Knative resource.
240+
See: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties
241+
type: object
242+
required:
243+
- status
244+
- type
245+
properties:
246+
lastTransitionTime:
247+
description: |-
248+
LastTransitionTime is the last time the condition transitioned from one status to another.
249+
We use VolatileTime in place of metav1.Time to exclude this from creating equality.Semantic
250+
differences (all other things held constant).
251+
type: string
252+
message:
253+
description: A human readable message indicating details about the transition.
254+
type: string
255+
reason:
256+
description: The reason for the condition's last transition.
257+
type: string
258+
severity:
259+
description: |-
260+
Severity with which to treat failures of this type of condition.
261+
When this is not specified, it defaults to Error.
262+
type: string
263+
status:
264+
description: Status of the condition, one of True, False, Unknown.
265+
type: string
266+
type:
267+
description: Type of condition.
268+
type: string
269+
data:
270+
description: |-
271+
Data is a string representation of the resolved content
272+
of the requested resource in-lined into the ResolutionRequest
273+
object.
274+
type: string
275+
observedGeneration:
276+
description: |-
277+
ObservedGeneration is the 'Generation' of the Service that
278+
was last processed by the controller.
279+
type: integer
280+
format: int64
281+
refSource:
282+
description: |-
283+
RefSource is the source reference of the remote data that records the url, digest
284+
and the entrypoint.
285+
x-kubernetes-preserve-unknown-fields: true
286+
source:
287+
description: 'Deprecated: Use RefSource instead'
288+
x-kubernetes-preserve-unknown-fields: true
75289
additionalPrinterColumns:
76290
- name: OwnerKind
77291
type: string

0 commit comments

Comments
 (0)