Skip to content

Commit e46e33b

Browse files
upgrade to latest dependencies (#2183)
bumping knative.dev/hack c577ed9...4a7a07f: > 4a7a07f bump gotestfmt to newest version (# 448) > 6d3155b [release-1.18] 🐛 Fix knative.dev/toolbox for older versions of Golang (# 443) bumping knative.dev/reconciler-test 23f8616...56e79a3: > 56e79a3 Update default ko version to 0.18.0 (# 838) Signed-off-by: Knative Automation <automation@knative.team>
1 parent d82e543 commit e46e33b

File tree

6 files changed

+17
-12
lines changed

6 files changed

+17
-12
lines changed

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ require (
2222
k8s.io/code-generator v0.32.2
2323
knative.dev/caching v0.0.0-20250415164313-8f20a1163dbf
2424
knative.dev/eventing v0.45.4
25-
knative.dev/hack v0.0.0-20250331013814-c577ed9f7775
25+
knative.dev/hack v0.0.0-20251022160648-4a7a07f9b7b4
2626
knative.dev/pkg v0.0.0-20250415155312-ed3e2158b883
27-
knative.dev/reconciler-test v0.0.0-20250415170512-23f86169156f
27+
knative.dev/reconciler-test v0.0.0-20251023120746-56e79a32e54e
2828
knative.dev/serving v0.45.1
2929
sigs.k8s.io/yaml v1.4.0
3030
)

go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1718,14 +1718,14 @@ knative.dev/caching v0.0.0-20250415164313-8f20a1163dbf h1:qQnKB6mx+beHzsoKU8aKrR
17181718
knative.dev/caching v0.0.0-20250415164313-8f20a1163dbf/go.mod h1:q8ma7YxJ8Dofr+5kf3qR72A/7Zxl9uqQlOdMwNgCXY4=
17191719
knative.dev/eventing v0.45.4 h1:M0HjsFipG6AD+ZMYRXqbSsQfBK4BXlFGEQcsCDlR9mk=
17201720
knative.dev/eventing v0.45.4/go.mod h1:Fz5VjV/vWVN93UfTX3lzc+uFrvJ9wxiiKrRIPhQxoj8=
1721-
knative.dev/hack v0.0.0-20250331013814-c577ed9f7775 h1:UstB8/aowofYFHjLyZdPh1K7qB9BCx+lP1WuiCspYRE=
1722-
knative.dev/hack v0.0.0-20250331013814-c577ed9f7775/go.mod h1:R0ritgYtjLDO9527h5vb5X6gfvt5LCrJ55BNbVDsWiY=
1721+
knative.dev/hack v0.0.0-20251022160648-4a7a07f9b7b4 h1:CLFOOEXo5A278ScEdqOf4UnekCtYJ9l1PCsAi4eQp+E=
1722+
knative.dev/hack v0.0.0-20251022160648-4a7a07f9b7b4/go.mod h1:R0ritgYtjLDO9527h5vb5X6gfvt5LCrJ55BNbVDsWiY=
17231723
knative.dev/networking v0.0.0-20250415164913-6268d931d247 h1:BQcW8ur+WAmj6GCpYHyUyWoaJWVTs/75W1EObUV/bdA=
17241724
knative.dev/networking v0.0.0-20250415164913-6268d931d247/go.mod h1:Y6OMRz/12RC8fzVa3gAB6K8BR415xbF4z35IAbdMHFc=
17251725
knative.dev/pkg v0.0.0-20250415155312-ed3e2158b883 h1:UeOY7009M0EHwdyW3P35Fc1U6FJHzBrj6Gf370do8zY=
17261726
knative.dev/pkg v0.0.0-20250415155312-ed3e2158b883/go.mod h1:ptwLYr04MAyeoRvhnhhz0FFkVZTdYJV2QWnw9sZyFSM=
1727-
knative.dev/reconciler-test v0.0.0-20250415170512-23f86169156f h1:4JZHD997Yav2K6JJU93sjxvcPXNHVY4lC1dWhzyeBXg=
1728-
knative.dev/reconciler-test v0.0.0-20250415170512-23f86169156f/go.mod h1:jrNdg5OPDhfxYxXDLqA4iv9zvfLhNYpYKmaQvz4ZpRM=
1727+
knative.dev/reconciler-test v0.0.0-20251023120746-56e79a32e54e h1:TTTOKCwJjCOf0Uix9fbaeuKWI46yCpDTZeqaM82G1S8=
1728+
knative.dev/reconciler-test v0.0.0-20251023120746-56e79a32e54e/go.mod h1:jrNdg5OPDhfxYxXDLqA4iv9zvfLhNYpYKmaQvz4ZpRM=
17291729
knative.dev/serving v0.45.1 h1:tDbEZEzWeQ3KAhOZato5p7Jahdks9imerPBsiDUhkzk=
17301730
knative.dev/serving v0.45.1/go.mod h1:AGpRclBUrrSx4KNiyDzAR4DlmENqLKrSNllnBP+h3yw=
17311731
nhooyr.io/websocket v1.8.6/go.mod h1:B70DZP8IakI65RVQ51MsWP/8jndNma26DVA/nFSCgW0=

vendor/knative.dev/hack/library.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ function report_go_test() {
588588
logfile="${logfile/.xml/.jsonl}"
589589
echo "Running go test with args: ${go_test_args[*]}"
590590
local gotest_retcode=0
591-
go_run gotest.tools/gotestsum@v1.11.0 \
591+
go_run gotest.tools/gotestsum@v1.13.0 \
592592
--format "${GO_TEST_VERBOSITY:-testname}" \
593593
--junitfile "${xml}" \
594594
--junitfile-testsuite-name relative \
@@ -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/knative.dev/reconciler-test/pkg/images/ko/publish.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ var ErrKoPublishFailed = errors.New("ko publish failed")
3030
func Publish(ctx context.Context, path string) (string, error) {
3131
version := os.Getenv("GOOGLE_KO_VERSION")
3232
if version == "" {
33-
version = "v0.15.2"
33+
version = "v0.18.0"
3434
}
3535
args := []string{
3636
"go", "run", fmt.Sprintf("github.com/google/ko@%s", version),

vendor/modules.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1522,7 +1522,7 @@ knative.dev/eventing/test/upgrade/prober/wathola/fetcher
15221522
knative.dev/eventing/test/upgrade/prober/wathola/forwarder
15231523
knative.dev/eventing/test/upgrade/prober/wathola/receiver
15241524
knative.dev/eventing/test/upgrade/prober/wathola/sender
1525-
# knative.dev/hack v0.0.0-20250331013814-c577ed9f7775
1525+
# knative.dev/hack v0.0.0-20251022160648-4a7a07f9b7b4
15261526
## explicit; go 1.21
15271527
knative.dev/hack
15281528
# knative.dev/networking v0.0.0-20250415164913-6268d931d247
@@ -1630,7 +1630,7 @@ knative.dev/pkg/webhook
16301630
knative.dev/pkg/webhook/certificates
16311631
knative.dev/pkg/webhook/certificates/resources
16321632
knative.dev/pkg/webhook/resourcesemantics/conversion
1633-
# knative.dev/reconciler-test v0.0.0-20250415170512-23f86169156f
1633+
# knative.dev/reconciler-test v0.0.0-20251023120746-56e79a32e54e
16341634
## explicit; go 1.23.0
16351635
knative.dev/reconciler-test/cmd/eventshub
16361636
knative.dev/reconciler-test/pkg/environment

0 commit comments

Comments
 (0)