Skip to content

Commit 52fe1ba

Browse files
upgrade to latest dependencies (#608)
bumping knative.dev/hack 1499de2...49bc1be: > 49bc1be 🐛 Fix knative.dev/toolbox for older versions of Golang (# 436) bumping knative.dev/client/pkg 6f59afe...b9b74c2: > b9b74c2 upgrade to latest dependencies (# 2077) > e0ac318 upgrade to latest dependencies (# 2075) > 5e0e075 upgrade to latest dependencies (# 2074) > e277536 upgrade to latest dependencies (# 2073) > a23801d upgrade to latest dependencies (# 2072) Signed-off-by: Knative Automation <[email protected]>
1 parent 96327e6 commit 52fe1ba

File tree

5 files changed

+15
-10
lines changed

5 files changed

+15
-10
lines changed

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ require (
88
github.com/hashicorp/hcl v1.0.1-vault-5
99
github.com/spf13/cobra v1.8.1
1010
gotest.tools/v3 v3.3.0
11-
knative.dev/client/pkg v0.0.0-20251008140714-6f59afe28d11
12-
knative.dev/hack v0.0.0-20250902153942-1499de21e119
11+
knative.dev/client/pkg v0.0.0-20251013022316-b9b74c22e298
12+
knative.dev/hack v0.0.0-20251013111017-49bc1be5f373
1313

1414
)
1515

go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -608,10 +608,10 @@ k8s.io/klog/v2 v2.130.1 h1:n9Xl7H1Xvksem4KFG4PYbdQCQxqc/tTUyrgXaOhHSzk=
608608
k8s.io/klog/v2 v2.130.1/go.mod h1:3Jpz1GvMt720eyJH1ckRHK1EDfpxISzJ7I9OYgaDtPE=
609609
k8s.io/utils v0.0.0-20241210054802-24370beab758 h1:sdbE21q2nlQtFh65saZY+rRM6x6aJJI8IUa1AmH/qa0=
610610
k8s.io/utils v0.0.0-20241210054802-24370beab758/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
611-
knative.dev/client/pkg v0.0.0-20251008140714-6f59afe28d11 h1:2n36RjePcJqhZfTliakmA5wFf1VpZwKOSZUtmKlkU14=
612-
knative.dev/client/pkg v0.0.0-20251008140714-6f59afe28d11/go.mod h1:A9dCnjXXg9OwsxdVMfv4wkRol+rphfriVO4KY+BO++A=
613-
knative.dev/hack v0.0.0-20250902153942-1499de21e119 h1:NbQvjnFK1tL489LN0qAybWy0E17Jpziwcv/XIHwfp6M=
614-
knative.dev/hack v0.0.0-20250902153942-1499de21e119/go.mod h1:R0ritgYtjLDO9527h5vb5X6gfvt5LCrJ55BNbVDsWiY=
611+
knative.dev/client/pkg v0.0.0-20251013022316-b9b74c22e298 h1:LCRRwe77Lv36XkqhbKH98Q5oqikPk0EDmV/cPFZXM0s=
612+
knative.dev/client/pkg v0.0.0-20251013022316-b9b74c22e298/go.mod h1:6tg82v4xU7SWkdAzI6igO78Jiwtht+8hTqoJy/c3HSk=
613+
knative.dev/hack v0.0.0-20251013111017-49bc1be5f373 h1:fQOPV7/irGmQZtZ52Ez1VdVtiQlTRPtDDGO/8djTcLM=
614+
knative.dev/hack v0.0.0-20251013111017-49bc1be5f373/go.mod h1:R0ritgYtjLDO9527h5vb5X6gfvt5LCrJ55BNbVDsWiY=
615615
knative.dev/pkg v0.0.0-20251007184713-a624c759bede h1:ADQEXMQlfbjBjicJdou8R5WjPHm0/5FyyV58RQ9eYPU=
616616
knative.dev/pkg v0.0.0-20251007184713-a624c759bede/go.mod h1:pNETfvzYq5MmPTi+XGGIjjgvQSYvu4pxxLF1muKunhs=
617617
rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=

vendor/knative.dev/hack/library.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ function start_knative_eventing_extension() {
681681
# Parameters: $1 - tool package for go run.
682682
# $2..$n - parameters passed to the tool.
683683
function go_run() {
684-
local package
684+
local package gotoolchain
685685
package="$1"
686686
if [[ "$package" != *@* ]]; then
687687
abort 'Package for "go_run" needs to have @version'
@@ -696,6 +696,11 @@ function go_run() {
696696
GORUN_PATH="$(mktemp -t -d -u gopath.XXXXXXXX)"
697697
fi
698698
export GORUN_PATH
699+
gotoolchain="$(go env GOTOOLCHAIN)"
700+
if [[ "$package" == knative.dev/toolbox/* ]]; then
701+
gotoolchain=auto
702+
fi
703+
GOTOOLCHAIN="${gotoolchain}" \
699704
GOPATH="${GORUN_PATH}" \
700705
GOFLAGS='' \
701706
go run "$package" "$@"

vendor/knative.dev/hack/presubmit-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ function __build_test_runner_for_module() {
141141
# Don't merge these two lines, or return code will always be 0.
142142
# Get all build tags in go code (ignore /vendor, /hack and /third_party)
143143
local tags
144-
tags="$(go run knative.dev/toolbox/go-ls-tags@latest --joiner=,)"
144+
tags="$(go_run knative.dev/toolbox/go-ls-tags@latest --joiner=,)"
145145
local go_pkg_dirs
146146
go_pkg_dirs="$(go list -tags "${tags}" ./...)" || return $?
147147
if [[ -z "${go_pkg_dirs}" ]]; then

vendor/modules.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,10 +223,10 @@ k8s.io/klog/v2/internal/sloghandler
223223
# k8s.io/utils v0.0.0-20241210054802-24370beab758
224224
## explicit; go 1.18
225225
k8s.io/utils/clock
226-
# knative.dev/client/pkg v0.0.0-20251008140714-6f59afe28d11
226+
# knative.dev/client/pkg v0.0.0-20251013022316-b9b74c22e298
227227
## explicit; go 1.24.0
228228
knative.dev/client/pkg/config
229229
knative.dev/client/pkg/plugin
230-
# knative.dev/hack v0.0.0-20250902153942-1499de21e119
230+
# knative.dev/hack v0.0.0-20251013111017-49bc1be5f373
231231
## explicit; go 1.21
232232
knative.dev/hack

0 commit comments

Comments
 (0)