2020-04-17 17:20:38 -04:00
|
|
|
module k8s.io/kubernetes/hack/tools
|
|
|
|
|
|
2025-09-17 16:32:42 -04:00
|
|
|
go 1.25.0
|
2020-04-17 17:20:38 -04:00
|
|
|
|
2025-09-17 16:32:42 -04:00
|
|
|
godebug default=go1.25
|
2024-09-10 12:22:40 -04:00
|
|
|
|
2020-04-17 17:20:38 -04:00
|
|
|
require (
|
2025-02-25 18:12:27 -05:00
|
|
|
go.uber.org/automaxprocs v1.6.0
|
2025-06-19 11:53:15 -04:00
|
|
|
golang.org/x/mod v0.27.0
|
2024-06-29 12:36:53 -04:00
|
|
|
k8s.io/publishing-bot v0.5.0
|
2020-04-17 17:20:38 -04:00
|
|
|
)
|
2022-05-04 10:27:41 -04:00
|
|
|
|
|
|
|
|
require (
|
2025-03-29 13:48:57 -04:00
|
|
|
github.com/BurntSushi/toml v1.5.0 // indirect
|
2025-08-02 12:47:34 -04:00
|
|
|
github.com/aojea/sloppy-netparser v0.0.0-20210819225411-1b3bd8b3b975 // indirect
|
test: filter "go test" output with gotestsum instead of grep
Filtering the output with grep leads to hard to read log output, e.g. from
pull-kubernetes-unit:
+++ [0613 15:32:48] Running tests without code coverage and with -race
{"Time":"2024-06-13T15:33:47.845457374Z","Action":"output","Package":"k8s.io/kubernetes/cluster/gce/cos","Test":"TestCreateMasterAuditPolicy","Output":" /tmp/configure-helper-test47992121/kube-env: line 1: `}'\n"}
{"Time":"2024-06-13T15:33:49.053732803Z","Action":"output","Package":"k8s.io/kubernetes/cluster/gce/cos","Output":"ok \tk8s.io/kubernetes/cluster/gce/cos\t2.906s\n"}
We can do better than that. When feeding the output of the "go test" command(s)
into gotestsum *while it runs*, we can use --format=standard-quiet (= normal go
test output) or --format=standard-verbose (= `go test -v`) when FULL_LOG is
requested to get nicer output.
This works when testing everything at once. This was said to be not possible
when doing coverage profiling. But recent Go no longer has that limitation, so
the xargs trick gets removed. All that we need to do for coverage profiling is
to add some additional parameters and the conversion to HTML.
2024-06-14 10:24:38 -04:00
|
|
|
github.com/bitfield/gotestdox v0.2.2 // indirect
|
2025-06-19 11:53:15 -04:00
|
|
|
github.com/brunoga/deep v1.2.4 // indirect
|
2025-08-02 12:47:34 -04:00
|
|
|
github.com/cespare/prettybench v0.0.0-20150116022406-03b8cfe5406c // indirect
|
2022-05-04 10:27:41 -04:00
|
|
|
github.com/dnephin/pflag v1.0.7 // indirect
|
2025-02-25 18:12:27 -05:00
|
|
|
github.com/fatih/color v1.18.0 // indirect
|
2025-06-19 11:53:15 -04:00
|
|
|
github.com/fatih/structs v1.1.0 // indirect
|
2025-04-10 09:16:47 -04:00
|
|
|
github.com/fsnotify/fsnotify v1.8.0 // indirect
|
2025-06-19 11:53:15 -04:00
|
|
|
github.com/go-viper/mapstructure/v2 v2.3.0 // indirect
|
2024-06-29 12:36:53 -04:00
|
|
|
github.com/golang/glog v1.2.2 // indirect
|
2025-08-02 12:47:34 -04:00
|
|
|
github.com/golangci/misspell v0.6.0 // indirect
|
|
|
|
|
github.com/google/go-cmp v0.7.0 // indirect
|
2022-05-04 10:27:41 -04:00
|
|
|
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
|
2025-06-19 11:53:15 -04:00
|
|
|
github.com/huandu/xstrings v1.5.0 // indirect
|
2023-06-27 02:03:11 -04:00
|
|
|
github.com/inconshreveable/mousetrap v1.1.0 // indirect
|
2025-08-02 12:47:34 -04:00
|
|
|
github.com/jcchavezs/porto v0.6.0 // indirect
|
2025-06-19 11:53:15 -04:00
|
|
|
github.com/jedib0t/go-pretty/v6 v6.6.7 // indirect
|
|
|
|
|
github.com/knadh/koanf/maps v0.1.2 // indirect
|
|
|
|
|
github.com/knadh/koanf/parsers/yaml v0.1.0 // indirect
|
|
|
|
|
github.com/knadh/koanf/providers/env v1.0.0 // indirect
|
|
|
|
|
github.com/knadh/koanf/providers/file v1.1.2 // indirect
|
|
|
|
|
github.com/knadh/koanf/providers/posflag v0.1.0 // indirect
|
|
|
|
|
github.com/knadh/koanf/providers/structs v0.1.0 // indirect
|
|
|
|
|
github.com/knadh/koanf/v2 v2.2.1 // indirect
|
2025-02-25 18:12:27 -05:00
|
|
|
github.com/mattn/go-colorable v0.1.14 // indirect
|
2024-02-22 02:03:10 -05:00
|
|
|
github.com/mattn/go-isatty v0.0.20 // indirect
|
2025-06-19 11:53:15 -04:00
|
|
|
github.com/mattn/go-runewidth v0.0.16 // indirect
|
|
|
|
|
github.com/mitchellh/copystructure v1.2.0 // indirect
|
|
|
|
|
github.com/mitchellh/reflectwalk v1.0.2 // indirect
|
|
|
|
|
github.com/rivo/uniseg v0.4.7 // indirect
|
2025-03-29 13:48:57 -04:00
|
|
|
github.com/rogpeppe/go-internal v1.14.1 // indirect
|
2025-04-10 09:16:47 -04:00
|
|
|
github.com/rs/zerolog v1.33.0 // indirect
|
2025-03-29 13:48:57 -04:00
|
|
|
github.com/spf13/cobra v1.9.1 // indirect
|
2025-02-25 18:12:27 -05:00
|
|
|
github.com/spf13/pflag v1.0.6 // indirect
|
2025-06-19 11:53:15 -04:00
|
|
|
github.com/vektra/mockery/v3 v3.5.4 // indirect
|
|
|
|
|
github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect
|
|
|
|
|
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
|
|
|
|
|
github.com/xeipuuv/gojsonschema v1.2.0 // indirect
|
2025-07-14 12:47:14 -04:00
|
|
|
go.yaml.in/yaml/v3 v3.0.3 // indirect
|
2025-06-19 11:53:15 -04:00
|
|
|
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 // indirect
|
2025-02-25 18:12:27 -05:00
|
|
|
golang.org/x/exp/typeparams v0.0.0-20250210185358-939b2ce775ac // indirect
|
2025-06-19 11:53:15 -04:00
|
|
|
golang.org/x/sync v0.16.0 // indirect
|
|
|
|
|
golang.org/x/sys v0.35.0 // indirect
|
|
|
|
|
golang.org/x/term v0.32.0 // indirect
|
|
|
|
|
golang.org/x/text v0.25.0 // indirect
|
|
|
|
|
golang.org/x/tools v0.36.0 // indirect
|
|
|
|
|
golang.org/x/tools/go/expect v0.1.1-deprecated // indirect
|
2025-07-30 11:45:27 -04:00
|
|
|
google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.5.1 // indirect
|
2025-08-02 12:47:34 -04:00
|
|
|
google.golang.org/protobuf v1.36.4 // indirect
|
2022-05-04 10:27:41 -04:00
|
|
|
gopkg.in/yaml.v2 v2.4.0 // indirect
|
2022-08-07 00:01:15 -04:00
|
|
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
2025-08-02 12:47:34 -04:00
|
|
|
gotest.tools/gotestsum v1.12.0 // indirect
|
2025-07-30 11:45:27 -04:00
|
|
|
honnef.co/go/tools v0.6.1 // indirect
|
|
|
|
|
sigs.k8s.io/yaml v1.6.0 // indirect
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
tool (
|
|
|
|
|
github.com/aojea/sloppy-netparser
|
|
|
|
|
github.com/cespare/prettybench
|
|
|
|
|
github.com/golangci/misspell
|
|
|
|
|
github.com/jcchavezs/porto/cmd/porto
|
2025-06-19 11:53:15 -04:00
|
|
|
github.com/vektra/mockery/v3
|
2025-07-30 11:45:27 -04:00
|
|
|
go.uber.org/automaxprocs
|
|
|
|
|
golang.org/x/mod/modfile
|
|
|
|
|
golang.org/x/tools/cmd/goimports
|
|
|
|
|
google.golang.org/grpc/cmd/protoc-gen-go-grpc
|
|
|
|
|
google.golang.org/protobuf/cmd/protoc-gen-go
|
|
|
|
|
gotest.tools/gotestsum
|
|
|
|
|
honnef.co/go/tools/cmd/staticcheck
|
|
|
|
|
k8s.io/publishing-bot/cmd/publishing-bot/config
|
|
|
|
|
sigs.k8s.io/yaml/yamlfmt
|
2022-05-04 10:27:41 -04:00
|
|
|
)
|