Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump Pipelines to v0.62.1 #1754

Merged
merged 2 commits into from
Aug 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions docs/triggers-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -3981,8 +3981,6 @@ string
</em>
</td>
<td>
<em>(Optional)</em>
<p>Define the .spec.loadBalancerClass for Service with the type LoadBalancer.</p>
</td>
</tr>
<tr>
Expand Down
23 changes: 8 additions & 15 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ require (
github.com/gorilla/mux v1.8.0
github.com/sirupsen/logrus v1.9.3
github.com/spf13/cobra v1.7.0
github.com/tektoncd/pipeline v0.61.0
github.com/tektoncd/pipeline v0.62.1
github.com/tektoncd/plumbing v0.0.0-20221102182345-5dbcfda657d7
github.com/tidwall/sjson v1.2.4
go.opencensus.io v0.24.0
Expand All @@ -29,9 +29,9 @@ require (
gopkg.in/yaml.v2 v2.4.0
k8s.io/api v0.29.6
k8s.io/apiextensions-apiserver v0.29.2
k8s.io/apimachinery v0.29.6
k8s.io/apimachinery v0.29.7
k8s.io/client-go v0.29.6
k8s.io/code-generator v0.29.6
k8s.io/code-generator v0.29.7
k8s.io/klog/v2 v2.120.1
k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00
knative.dev/eventing v0.30.1-0.20220407170245-58865afba92c
Expand All @@ -40,14 +40,6 @@ require (
sigs.k8s.io/yaml v1.4.0
)

// TODO: Remove this once https://github.com/knative/pkg/issues/2759 is fixed
replace (
k8s.io/api => k8s.io/api v0.28.5
k8s.io/apimachinery => k8s.io/apimachinery v0.28.5
k8s.io/client-go => k8s.io/client-go v0.28.5
k8s.io/code-generator => k8s.io/code-generator v0.28.5
)

require (
cloud.google.com/go v0.113.0 // indirect
cloud.google.com/go/auth v0.4.1 // indirect
Expand All @@ -72,7 +64,7 @@ require (
github.com/felixge/httpsnoop v1.0.4 // indirect
github.com/go-kit/log v0.2.1 // indirect
github.com/go-logfmt/logfmt v0.5.1 // indirect
github.com/go-logr/logr v1.4.1 // indirect
github.com/go-logr/logr v1.4.2 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/go-openapi/jsonpointer v0.19.6 // indirect
github.com/go-openapi/jsonreference v0.20.2 // indirect
Expand Down Expand Up @@ -103,6 +95,7 @@ require (
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f // indirect
github.com/opencontainers/go-digest v1.0.0 // indirect
github.com/openzipkin/zipkin-go v0.4.2 // indirect
github.com/pkg/errors v0.9.1 // indirect
Expand All @@ -123,9 +116,9 @@ require (
github.com/tidwall/pretty v1.2.0 // indirect
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 // indirect
go.opentelemetry.io/otel v1.27.0 // indirect
go.opentelemetry.io/otel/metric v1.27.0 // indirect
go.opentelemetry.io/otel/trace v1.27.0 // indirect
go.opentelemetry.io/otel v1.28.0 // indirect
go.opentelemetry.io/otel/metric v1.28.0 // indirect
go.opentelemetry.io/otel/trace v1.28.0 // indirect
go.uber.org/automaxprocs v1.5.3 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/crypto v0.24.0 // indirect
Expand Down
198 changes: 70 additions & 128 deletions go.sum

Large diffs are not rendered by default.

21 changes: 20 additions & 1 deletion pkg/apis/triggers/v1beta1/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -301,11 +301,16 @@
"description": "TaskRunStepArtifact represents an artifact produced or used by a step within a task run. It directly uses the Artifact type for its structure.",
"type": "object",
"properties": {
"buildOutput": {
"description": "Indicate if the artifact is a build output or a by-product",
"type": "boolean"
},
"name": {
"description": "The artifact's identifying category name",
"type": "string"
},
"values": {
"description": "The artifact's identifying category name",
"description": "A collection of values related to the artifact",
"type": "array",
"items": {
"default": {},
Expand Down Expand Up @@ -1932,6 +1937,10 @@
"default": {},
"$ref": "#/definitions/v1.ResourceRequirements"
},
"restartPolicy": {
"description": "RestartPolicy refers to kubernetes RestartPolicy. It can only be set for an initContainer and must have it's policy set to \"Always\". It is currently left optional to help support Kubernetes versions prior to 1.29 when this feature was introduced.",
"type": "string"
},
"script": {
"description": "Script is the contents of an executable file to execute.\n\nIf Script is not empty, the Step cannot have an Command or Args.",
"type": "string"
Expand Down Expand Up @@ -2239,6 +2248,13 @@
"x-kubernetes-patch-merge-key": "mountPath",
"x-kubernetes-patch-strategy": "merge"
},
"when": {
"type": "array",
"items": {
"default": {},
"$ref": "#/definitions/v1beta1.WhenExpression"
}
},
"workingDir": {
"description": "Step's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated.",
"type": "string"
Expand Down Expand Up @@ -2426,6 +2442,9 @@
"$ref": "#/definitions/v1beta1.Artifact"
}
},
"provenance": {
"$ref": "#/definitions/v1beta1.Provenance"
},
"results": {
"type": "array",
"items": {
Expand Down
10 changes: 10 additions & 0 deletions pkg/client/informers/externalversions/factory.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pkg/resources/create_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ func TestCreateResource(t *testing.T) {
want pipelinev1.TaskRun
}{{
name: "TaskRun without namespace",
json: json.RawMessage(`{"kind":"TaskRun","apiVersion":"tekton.dev/v1beta1","metadata":{"name":"my-taskrun","creationTimestamp":null,"labels":{"someLabel":"bar"}},"spec":{"serviceAccountName":"","taskRef":{"name":"my-task"}},"status":{"podName": ""}}`),
json: json.RawMessage(`{"kind":"TaskRun","apiVersion":"tekton.dev/v1beta1","metadata":{"name":"my-taskrun","creationTimestamp":null,"labels":{"someLabel":"bar"}},"spec":{"serviceAccountName":"","taskRef":{"name":"my-task"}},"status":{"artifacts":{},"podName": ""}}`),
want: pipelinev1.TaskRun{
TypeMeta: metav1.TypeMeta{
APIVersion: "tekton.dev/v1beta1",
Expand All @@ -168,7 +168,7 @@ func TestCreateResource(t *testing.T) {

{
name: "TaskRun with namespace",
json: json.RawMessage(`{"kind":"TaskRun","apiVersion":"tekton.dev/v1beta1","metadata":{"name":"my-taskrun","namespace":"bar","creationTimestamp":null,"labels":{"someLabel":"bar"}},"spec":{"serviceAccountName":"","taskRef":{"name":"my-task"}},"status":{"podName":""}}`),
json: json.RawMessage(`{"kind":"TaskRun","apiVersion":"tekton.dev/v1beta1","metadata":{"name":"my-taskrun","namespace":"bar","creationTimestamp":null,"labels":{"someLabel":"bar"}},"spec":{"serviceAccountName":"","taskRef":{"name":"my-task"}},"status":{"artifacts":{},"podName":""}}`),
want: pipelinev1.TaskRun{
TypeMeta: metav1.TypeMeta{
APIVersion: "tekton.dev/v1beta1",
Expand Down
1 change: 1 addition & 0 deletions vendor/github.com/go-logr/logr/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading