From c113a44f4dd9af902611c2eaa90abe5f8bf8f901 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 5 Dec 2024 02:26:57 +0000 Subject: [PATCH] Bump github.com/tektoncd/pipeline from 0.65.2 to 0.66.0 Bumps [github.com/tektoncd/pipeline](https://github.com/tektoncd/pipeline) from 0.65.2 to 0.66.0. - [Release notes](https://github.com/tektoncd/pipeline/releases) - [Changelog](https://github.com/tektoncd/pipeline/blob/main/releases.md) - [Commits](https://github.com/tektoncd/pipeline/compare/v0.65.2...v0.66.0) --- updated-dependencies: - dependency-name: github.com/tektoncd/pipeline dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- go.mod | 2 +- go.sum | 4 +-- .../tektoncd/pipeline/pkg/remote/errors.go | 16 +++------ .../pipeline/pkg/resolution/common/errors.go | 33 ++----------------- vendor/modules.txt | 2 +- 5 files changed, 11 insertions(+), 46 deletions(-) diff --git a/go.mod b/go.mod index 6669cf5e6e..412a6fe92f 100644 --- a/go.mod +++ b/go.mod @@ -25,7 +25,7 @@ require ( github.com/spf13/pflag v1.0.5 github.com/tektoncd/chains v0.23.0 github.com/tektoncd/hub v1.19.0 - github.com/tektoncd/pipeline v0.65.2 + github.com/tektoncd/pipeline v0.66.0 github.com/tektoncd/plumbing v0.0.0-20230907180608-5625252a2de1 github.com/tektoncd/triggers v0.30.0 github.com/theupdateframework/go-tuf v0.7.0 diff --git a/go.sum b/go.sum index 64b2f6a2d3..4b9e773e02 100644 --- a/go.sum +++ b/go.sum @@ -1322,8 +1322,8 @@ github.com/tektoncd/chains v0.23.0 h1:zRhzSUlAPxL/dUH0AXWcW8AtJbF2FrqM2yTyR3J8A5 github.com/tektoncd/chains v0.23.0/go.mod h1:Bhyomb/vr0cnI4+VJmjeukRCyti4XGWb9GPWSttAFIs= github.com/tektoncd/hub v1.19.0 h1:UXl/jPB9uoa4ULyh64SN1VuKMMIZvXq6bkRGI8ATU+g= github.com/tektoncd/hub v1.19.0/go.mod h1:JJvxZ37nPygZOaUgDIQddihWnD+hSKExPs261FXmttc= -github.com/tektoncd/pipeline v0.65.2 h1:N63Xb9uiunewPVDTz4nGamJOtVg+Q38Cy4LRpvr+2e4= -github.com/tektoncd/pipeline v0.65.2/go.mod h1:V3cyfxxc7b3GLT2a13GX2mWA86qmxWhh4mOp4gfFQwQ= +github.com/tektoncd/pipeline v0.66.0 h1:WLL98YEgWzblSAD2mPbpZN97tkOC50wiftaW+8+6zTY= +github.com/tektoncd/pipeline v0.66.0/go.mod h1:V3cyfxxc7b3GLT2a13GX2mWA86qmxWhh4mOp4gfFQwQ= github.com/tektoncd/plumbing v0.0.0-20230907180608-5625252a2de1 h1:9paprRIBXQgcvdhGq3wKiSspXP0JIFSY52ru3sIMjKM= github.com/tektoncd/plumbing v0.0.0-20230907180608-5625252a2de1/go.mod h1:7eWs1XNkmReggow7ggRbRyRuHi7646B8b2XipCZ3VOw= github.com/tektoncd/triggers v0.30.0 h1:1RV3yxRlEN565qHYG8vIKyfrU3QVZkPuv67qurLeSYg= diff --git a/vendor/github.com/tektoncd/pipeline/pkg/remote/errors.go b/vendor/github.com/tektoncd/pipeline/pkg/remote/errors.go index 798c9a7846..982dd1b74a 100644 --- a/vendor/github.com/tektoncd/pipeline/pkg/remote/errors.go +++ b/vendor/github.com/tektoncd/pipeline/pkg/remote/errors.go @@ -18,15 +18,7 @@ package remote import "errors" -var ( - // ErrRequestInProgress is a sentinel value that indicates - // resolving a remote file like a pipeline in a bundle or - // a task in git hasn't completed yet. - ErrRequestInProgress = errors.New("resource request in progress") - - // ErrorRequestInProgress is an alias for ErrRequestInProgress and will be - // removed in a future release.. - // - // Deprecated: use ErrRequestInProgress instead - ErrorRequestInProgress = ErrRequestInProgress -) +// ErrRequestInProgress is a sentinel value that indicates +// resolving a remote file like a pipeline in a bundle or +// a task in git hasn't completed yet. +var ErrRequestInProgress = errors.New("resource request in progress") diff --git a/vendor/github.com/tektoncd/pipeline/pkg/resolution/common/errors.go b/vendor/github.com/tektoncd/pipeline/pkg/resolution/common/errors.go index d304989b8b..4a6caedb48 100644 --- a/vendor/github.com/tektoncd/pipeline/pkg/resolution/common/errors.go +++ b/vendor/github.com/tektoncd/pipeline/pkg/resolution/common/errors.go @@ -61,16 +61,9 @@ func NewError(reason string, err error) *Error { } } -var ( - // ErrRequestInProgress is a sentinel value to indicate that - // a resource request is still in progress. - ErrRequestInProgress = NewError("RequestInProgress", errors.New("Resource request is still in-progress")) - - // ErrorRequestInProgress is an alias to ErrRequestInProgress - // - // Deprecated: use ErrRequestInProgress instead. - ErrorRequestInProgress = ErrRequestInProgress -) +// ErrRequestInProgress is a sentinel value to indicate that +// a resource request is still in progress. +var ErrRequestInProgress = NewError("RequestInProgress", errors.New("Resource request is still in-progress")) // InvalidResourceKeyError indicates that a string key given to the // Reconcile function does not match the expected "name" or "namespace/name" @@ -80,11 +73,6 @@ type InvalidResourceKeyError struct { Original error } -// ErrorInvalidResourceKey is an alias to type InvalidResourceKeyError. -// -// Deprecated: use type InvalidResourceKeyError instead. -type ErrorInvalidResourceKey = InvalidResourceKeyError - var _ error = &InvalidResourceKeyError{} func (e *InvalidResourceKeyError) Error() string { @@ -104,11 +92,6 @@ type InvalidRequestError struct { Message string } -// ErrorInvalidRequest is an alias to type InvalidRequestError. -// -// Deprecated: use type InvalidRequestError instead. -type ErrorInvalidRequest = InvalidRequestError - var _ error = &InvalidRequestError{} func (e *InvalidRequestError) Error() string { @@ -123,11 +106,6 @@ type GetResourceError struct { Original error } -// ErrorGettingResource is an alias to type GetResourceError. -// -// Deprecated: use type GetResourceError instead. -type ErrorGettingResource = GetResourceError - var _ error = &GetResourceError{} func (e *GetResourceError) Error() string { @@ -146,11 +124,6 @@ type UpdatingRequestError struct { Original error } -// ErrorUpdatingRequest is an alias to UpdatingRequestError -// -// Deprecated: use UpdatingRequestError instead. -type ErrorUpdatingRequest = UpdatingRequestError - var _ error = &UpdatingRequestError{} func (e *UpdatingRequestError) Error() string { diff --git a/vendor/modules.txt b/vendor/modules.txt index e9acf26282..f5a05e539e 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -1509,7 +1509,7 @@ github.com/tektoncd/hub/api/v1/gen/http/catalog/client github.com/tektoncd/hub/api/v1/gen/http/resource/client github.com/tektoncd/hub/api/v1/gen/resource github.com/tektoncd/hub/api/v1/gen/resource/views -# github.com/tektoncd/pipeline v0.65.2 +# github.com/tektoncd/pipeline v0.66.0 ## explicit; go 1.22 github.com/tektoncd/pipeline/internal/artifactref github.com/tektoncd/pipeline/pkg/apis/config