2020-04-17 17:20:38 -04:00
|
|
|
module k8s.io/kubernetes/hack/tools
|
|
|
|
|
|
2025-02-25 07:21:52 -05:00
|
|
|
go 1.24.0
|
2020-04-17 17:20:38 -04:00
|
|
|
|
2025-02-25 07:21:52 -05:00
|
|
|
godebug default=go1.24
|
2024-09-10 12:22:40 -04:00
|
|
|
|
2020-04-17 17:20:38 -04:00
|
|
|
require (
|
2021-08-19 07:19:35 -04:00
|
|
|
github.com/aojea/sloppy-netparser v0.0.0-20210819225411-1b3bd8b3b975
|
2020-04-18 12:41:34 -04:00
|
|
|
github.com/cespare/prettybench v0.0.0-20150116022406-03b8cfe5406c
|
|
|
|
|
github.com/client9/misspell v0.3.4
|
2025-02-25 18:12:27 -05:00
|
|
|
github.com/golangci/golangci-lint v1.64.5
|
2024-02-08 07:33:30 -05:00
|
|
|
github.com/jcchavezs/porto v0.6.0
|
2024-06-04 13:29:42 -04:00
|
|
|
github.com/vektra/mockery/v2 v2.40.3
|
2025-02-25 18:12:27 -05:00
|
|
|
go.uber.org/automaxprocs v1.6.0
|
|
|
|
|
golang.org/x/mod v0.23.0
|
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
|
|
|
gotest.tools/gotestsum v1.12.0
|
2025-02-25 18:12:27 -05:00
|
|
|
honnef.co/go/tools v0.6.0
|
2024-06-29 12:36:53 -04:00
|
|
|
k8s.io/publishing-bot v0.5.0
|
2024-01-12 08:38:46 -05:00
|
|
|
sigs.k8s.io/logtools v0.8.1
|
2020-04-17 17:20:38 -04:00
|
|
|
)
|
2022-05-04 10:27:41 -04:00
|
|
|
|
|
|
|
|
require (
|
2023-02-06 01:53:02 -05:00
|
|
|
4d63.com/gocheckcompilerdirectives v1.2.1 // indirect
|
2025-02-25 18:12:27 -05:00
|
|
|
4d63.com/gochecknoglobals v0.2.2 // indirect
|
|
|
|
|
github.com/4meepo/tagalign v1.4.1 // indirect
|
|
|
|
|
github.com/Abirdcfly/dupword v0.1.3 // indirect
|
|
|
|
|
github.com/Antonboom/errname v1.0.0 // indirect
|
|
|
|
|
github.com/Antonboom/nilnil v1.0.1 // indirect
|
|
|
|
|
github.com/Antonboom/testifylint v1.5.2 // indirect
|
2024-07-05 16:10:45 -04:00
|
|
|
github.com/BurntSushi/toml v1.4.1-0.20240526193622-a339e1f7089c // indirect
|
2025-02-25 18:12:27 -05:00
|
|
|
github.com/Crocmagnon/fatcontext v0.7.1 // indirect
|
2022-05-04 10:27:41 -04:00
|
|
|
github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24 // indirect
|
2025-02-25 18:12:27 -05:00
|
|
|
github.com/GaijinEntertainment/go-exhaustruct/v3 v3.3.0 // indirect
|
|
|
|
|
github.com/Masterminds/semver/v3 v3.3.0 // indirect
|
2024-02-22 02:03:10 -05:00
|
|
|
github.com/OpenPeeDeeP/depguard/v2 v2.2.0 // indirect
|
2025-02-25 18:12:27 -05:00
|
|
|
github.com/alecthomas/go-check-sumtype v0.3.1 // indirect
|
|
|
|
|
github.com/alexkohler/nakedret/v2 v2.0.5 // indirect
|
2022-05-04 10:27:41 -04:00
|
|
|
github.com/alexkohler/prealloc v1.0.0 // indirect
|
2022-08-07 00:01:15 -04:00
|
|
|
github.com/alingse/asasalint v0.0.11 // indirect
|
2025-02-25 18:12:27 -05:00
|
|
|
github.com/alingse/nilnesserr v0.1.2 // indirect
|
2023-08-10 12:50:38 -04:00
|
|
|
github.com/ashanbrown/forbidigo v1.6.0 // indirect
|
2025-02-25 18:12:27 -05:00
|
|
|
github.com/ashanbrown/makezero v1.2.0 // indirect
|
2022-05-04 10:27:41 -04:00
|
|
|
github.com/beorn7/perks v1.0.1 // 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-02-25 18:12:27 -05:00
|
|
|
github.com/bkielbasa/cyclop v1.2.3 // indirect
|
2022-06-27 10:17:42 -04:00
|
|
|
github.com/blizzy78/varnamelen v0.8.0 // indirect
|
2025-02-25 18:12:27 -05:00
|
|
|
github.com/bombsimon/wsl/v4 v4.5.0 // indirect
|
|
|
|
|
github.com/breml/bidichk v0.3.2 // indirect
|
|
|
|
|
github.com/breml/errchkjson v0.4.0 // indirect
|
|
|
|
|
github.com/butuzov/ireturn v0.3.1 // indirect
|
|
|
|
|
github.com/butuzov/mirror v1.3.0 // indirect
|
|
|
|
|
github.com/catenacyber/perfsprint v0.8.1 // indirect
|
2024-02-22 02:03:10 -05:00
|
|
|
github.com/ccojocar/zxcvbn-go v1.0.2 // indirect
|
2025-02-25 18:12:27 -05:00
|
|
|
github.com/cespare/xxhash/v2 v2.3.0 // indirect
|
2023-06-27 02:03:11 -04:00
|
|
|
github.com/charithe/durationcheck v0.0.10 // indirect
|
2023-10-24 05:20:11 -04:00
|
|
|
github.com/chavacava/garif v0.1.0 // indirect
|
2024-06-04 13:29:42 -04:00
|
|
|
github.com/chigopher/pathlib v0.19.1 // indirect
|
2025-02-25 18:12:27 -05:00
|
|
|
github.com/ckaznocha/intrange v0.3.0 // indirect
|
|
|
|
|
github.com/curioswitch/go-reassign v0.3.0 // indirect
|
|
|
|
|
github.com/daixiang0/gci v0.13.5 // indirect
|
2022-05-04 10:27:41 -04:00
|
|
|
github.com/davecgh/go-spew v1.1.1 // indirect
|
2025-02-25 18:12:27 -05:00
|
|
|
github.com/denis-tingaikin/go-header v0.5.0 // indirect
|
2022-05-04 10:27:41 -04:00
|
|
|
github.com/dnephin/pflag v1.0.7 // indirect
|
2024-02-22 02:03:10 -05:00
|
|
|
github.com/ettle/strcase v0.2.0 // indirect
|
2025-02-25 18:12:27 -05:00
|
|
|
github.com/fatih/color v1.18.0 // indirect
|
2022-05-04 10:27:41 -04:00
|
|
|
github.com/fatih/structtag v1.2.0 // indirect
|
2025-02-25 18:12:27 -05:00
|
|
|
github.com/firefart/nonamedreturns v1.0.5 // 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/fsnotify/fsnotify v1.7.0 // indirect
|
2022-08-07 00:01:15 -04:00
|
|
|
github.com/fzipp/gocyclo v0.6.0 // indirect
|
2025-02-25 18:12:27 -05:00
|
|
|
github.com/ghostiam/protogetter v0.3.9 // indirect
|
|
|
|
|
github.com/go-critic/go-critic v0.12.0 // indirect
|
2023-02-22 01:54:20 -05:00
|
|
|
github.com/go-toolsmith/astcast v1.1.0 // indirect
|
2023-06-27 02:03:11 -04:00
|
|
|
github.com/go-toolsmith/astcopy v1.1.0 // indirect
|
2024-02-22 02:03:10 -05:00
|
|
|
github.com/go-toolsmith/astequal v1.2.0 // indirect
|
2023-02-22 01:54:20 -05:00
|
|
|
github.com/go-toolsmith/astfmt v1.1.0 // indirect
|
|
|
|
|
github.com/go-toolsmith/astp v1.1.0 // indirect
|
|
|
|
|
github.com/go-toolsmith/strparse v1.1.0 // indirect
|
|
|
|
|
github.com/go-toolsmith/typep v1.1.0 // indirect
|
2025-02-25 18:12:27 -05:00
|
|
|
github.com/go-viper/mapstructure/v2 v2.2.1 // indirect
|
|
|
|
|
github.com/go-xmlfmt/xmlfmt v1.1.3 // indirect
|
2022-05-04 10:27:41 -04:00
|
|
|
github.com/gobwas/glob v0.2.3 // indirect
|
2025-02-25 18:12:27 -05:00
|
|
|
github.com/gofrs/flock v0.12.1 // indirect
|
2024-06-29 12:36:53 -04:00
|
|
|
github.com/golang/glog v1.2.2 // indirect
|
2024-02-22 02:03:10 -05:00
|
|
|
github.com/golang/protobuf v1.5.3 // indirect
|
2022-05-04 10:27:41 -04:00
|
|
|
github.com/golangci/dupl v0.0.0-20180902072040-3e9179ac440a // indirect
|
2025-02-25 18:12:27 -05:00
|
|
|
github.com/golangci/go-printf-func-name v0.1.0 // indirect
|
|
|
|
|
github.com/golangci/gofmt v0.0.0-20250106114630-d62b90e6713d // indirect
|
|
|
|
|
github.com/golangci/misspell v0.6.0 // indirect
|
|
|
|
|
github.com/golangci/plugin-module-register v0.1.1 // indirect
|
|
|
|
|
github.com/golangci/revgrep v0.8.0 // indirect
|
|
|
|
|
github.com/golangci/unconvert v0.0.0-20240309020433-c5143eacb3ed // indirect
|
2023-10-24 05:20:11 -04:00
|
|
|
github.com/google/go-cmp v0.6.0 // indirect
|
2022-05-04 10:27:41 -04:00
|
|
|
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
|
2024-02-22 02:03:10 -05:00
|
|
|
github.com/gordonklaus/ineffassign v0.1.0 // indirect
|
2022-05-04 10:27:41 -04:00
|
|
|
github.com/gostaticanalysis/analysisutil v0.7.1 // indirect
|
|
|
|
|
github.com/gostaticanalysis/comment v1.4.2 // indirect
|
2025-02-25 18:12:27 -05:00
|
|
|
github.com/gostaticanalysis/forcetypeassert v0.2.0 // indirect
|
2022-05-04 10:27:41 -04:00
|
|
|
github.com/gostaticanalysis/nilerr v0.1.1 // indirect
|
2025-02-25 18:12:27 -05:00
|
|
|
github.com/hashicorp/go-immutable-radix/v2 v2.1.0 // indirect
|
|
|
|
|
github.com/hashicorp/go-version v1.7.0 // indirect
|
|
|
|
|
github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect
|
2022-05-04 10:27:41 -04:00
|
|
|
github.com/hashicorp/hcl v1.0.0 // indirect
|
|
|
|
|
github.com/hexops/gotextdiff v1.0.3 // indirect
|
2024-06-04 13:29:42 -04:00
|
|
|
github.com/huandu/xstrings v1.4.0 // indirect
|
|
|
|
|
github.com/iancoleman/strcase v0.2.0 // indirect
|
2023-06-27 02:03:11 -04:00
|
|
|
github.com/inconshreveable/mousetrap v1.1.0 // indirect
|
2025-02-25 18:12:27 -05:00
|
|
|
github.com/jgautheron/goconst v1.7.1 // indirect
|
2022-05-04 10:27:41 -04:00
|
|
|
github.com/jingyugao/rowserrcheck v1.1.1 // indirect
|
2024-06-04 13:29:42 -04:00
|
|
|
github.com/jinzhu/copier v0.3.5 // indirect
|
2025-02-25 18:12:27 -05:00
|
|
|
github.com/jjti/go-spancheck v0.6.4 // indirect
|
|
|
|
|
github.com/julz/importas v0.2.0 // indirect
|
|
|
|
|
github.com/karamaru-alpha/copyloopvar v1.2.1 // indirect
|
|
|
|
|
github.com/kisielk/errcheck v1.8.0 // indirect
|
|
|
|
|
github.com/kkHAIKE/contextcheck v1.1.5 // indirect
|
2022-08-07 00:01:15 -04:00
|
|
|
github.com/kulti/thelper v0.6.3 // indirect
|
2025-02-25 18:12:27 -05:00
|
|
|
github.com/kunwardeep/paralleltest v1.0.10 // indirect
|
|
|
|
|
github.com/lasiar/canonicalheader v1.1.2 // indirect
|
|
|
|
|
github.com/ldez/exptostd v0.4.1 // indirect
|
|
|
|
|
github.com/ldez/gomoddirectives v0.6.1 // indirect
|
|
|
|
|
github.com/ldez/grignotin v0.9.0 // indirect
|
|
|
|
|
github.com/ldez/tagliatelle v0.7.1 // indirect
|
|
|
|
|
github.com/ldez/usetesting v0.4.2 // indirect
|
|
|
|
|
github.com/leonklingele/grouper v1.1.2 // indirect
|
2024-02-22 02:03:10 -05:00
|
|
|
github.com/macabu/inamedparam v0.1.3 // indirect
|
2024-06-04 13:29:42 -04:00
|
|
|
github.com/magiconair/properties v1.8.7 // indirect
|
2022-10-20 05:24:30 -04:00
|
|
|
github.com/maratori/testableexamples v1.0.0 // indirect
|
2023-06-27 02:03:11 -04:00
|
|
|
github.com/maratori/testpackage v1.1.1 // indirect
|
2025-02-25 18:12:27 -05:00
|
|
|
github.com/matoous/godox v1.1.0 // indirect
|
|
|
|
|
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-02-25 18:12:27 -05:00
|
|
|
github.com/mattn/go-runewidth v0.0.16 // indirect
|
2022-05-04 10:27:41 -04:00
|
|
|
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
|
2025-02-25 18:12:27 -05:00
|
|
|
github.com/mgechev/revive v1.6.1 // indirect
|
2022-05-04 10:27:41 -04:00
|
|
|
github.com/mitchellh/go-homedir v1.1.0 // indirect
|
2022-06-27 10:17:42 -04:00
|
|
|
github.com/mitchellh/mapstructure v1.5.0 // indirect
|
2025-02-25 18:12:27 -05:00
|
|
|
github.com/moricho/tparallel v0.3.2 // indirect
|
2022-05-04 10:27:41 -04:00
|
|
|
github.com/nakabonne/nestif v0.3.1 // indirect
|
2024-02-22 02:03:10 -05:00
|
|
|
github.com/nishanths/exhaustive v0.12.0 // indirect
|
2022-06-27 10:17:42 -04:00
|
|
|
github.com/nishanths/predeclared v0.2.2 // indirect
|
2025-02-25 18:12:27 -05:00
|
|
|
github.com/nunnatsa/ginkgolinter v0.19.0 // indirect
|
2022-05-04 10:27:41 -04:00
|
|
|
github.com/olekukonko/tablewriter v0.0.5 // indirect
|
2025-02-25 18:12:27 -05:00
|
|
|
github.com/pelletier/go-toml/v2 v2.2.3 // indirect
|
2022-05-04 10:27:41 -04:00
|
|
|
github.com/pmezard/go-difflib v1.0.0 // indirect
|
2025-02-25 18:12:27 -05:00
|
|
|
github.com/polyfloyd/go-errorlint v1.7.1 // indirect
|
2022-06-27 10:17:42 -04:00
|
|
|
github.com/prometheus/client_golang v1.12.1 // indirect
|
2022-05-04 10:27:41 -04:00
|
|
|
github.com/prometheus/client_model v0.2.0 // indirect
|
2022-06-27 10:17:42 -04:00
|
|
|
github.com/prometheus/common v0.32.1 // indirect
|
|
|
|
|
github.com/prometheus/procfs v0.7.3 // indirect
|
2025-02-25 18:12:27 -05:00
|
|
|
github.com/quasilyte/go-ruleguard v0.4.3-0.20240823090925-0fe6f58b47b1 // indirect
|
|
|
|
|
github.com/quasilyte/go-ruleguard/dsl v0.3.22 // indirect
|
2023-02-22 01:54:20 -05:00
|
|
|
github.com/quasilyte/gogrep v0.5.0 // indirect
|
2023-06-27 02:03:11 -04:00
|
|
|
github.com/quasilyte/regex/syntax v0.0.0-20210819130434-b3f0c404a727 // indirect
|
2022-06-27 10:17:42 -04:00
|
|
|
github.com/quasilyte/stdinfo v0.0.0-20220114132959-f7386bf02567 // indirect
|
2025-02-25 18:12:27 -05:00
|
|
|
github.com/raeperd/recvcheck v0.2.0 // indirect
|
|
|
|
|
github.com/rivo/uniseg v0.4.7 // indirect
|
|
|
|
|
github.com/rogpeppe/go-internal v1.13.1 // indirect
|
2024-06-04 13:29:42 -04:00
|
|
|
github.com/rs/zerolog v1.29.0 // indirect
|
2025-02-25 18:12:27 -05:00
|
|
|
github.com/ryancurrah/gomodguard v1.3.5 // indirect
|
2023-10-24 05:20:11 -04:00
|
|
|
github.com/ryanrolds/sqlclosecheck v0.5.1 // indirect
|
2025-02-25 18:12:27 -05:00
|
|
|
github.com/sanposhiho/wastedassign/v2 v2.1.0 // indirect
|
|
|
|
|
github.com/santhosh-tekuri/jsonschema/v6 v6.0.1 // indirect
|
2022-10-20 05:24:30 -04:00
|
|
|
github.com/sashamelentyev/interfacebloat v1.1.0 // indirect
|
2025-02-25 18:12:27 -05:00
|
|
|
github.com/sashamelentyev/usestdlibvars v1.28.0 // indirect
|
|
|
|
|
github.com/securego/gosec/v2 v2.22.1 // indirect
|
2023-06-27 02:03:11 -04:00
|
|
|
github.com/sirupsen/logrus v1.9.3 // indirect
|
|
|
|
|
github.com/sivchari/containedctx v1.0.3 // indirect
|
2025-02-25 18:12:27 -05:00
|
|
|
github.com/sivchari/tenv v1.12.1 // indirect
|
|
|
|
|
github.com/sonatard/noctx v0.1.0 // indirect
|
2023-02-06 01:53:02 -05:00
|
|
|
github.com/sourcegraph/go-diff v0.7.0 // indirect
|
2025-02-25 18:12:27 -05:00
|
|
|
github.com/spf13/afero v1.12.0 // indirect
|
2022-08-07 00:01:15 -04:00
|
|
|
github.com/spf13/cast v1.5.0 // indirect
|
2025-02-25 18:12:27 -05:00
|
|
|
github.com/spf13/cobra v1.8.1 // indirect
|
2022-05-04 10:27:41 -04:00
|
|
|
github.com/spf13/jwalterweatherman v1.1.0 // indirect
|
2025-02-25 18:12:27 -05:00
|
|
|
github.com/spf13/pflag v1.0.6 // indirect
|
2024-06-04 13:29:42 -04:00
|
|
|
github.com/spf13/viper v1.15.0 // indirect
|
2022-05-04 10:27:41 -04:00
|
|
|
github.com/ssgreg/nlreturn/v2 v2.2.1 // indirect
|
2025-02-25 18:12:27 -05:00
|
|
|
github.com/stbenjam/no-sprintf-host-port v0.2.0 // indirect
|
|
|
|
|
github.com/stretchr/objx v0.5.2 // indirect
|
|
|
|
|
github.com/stretchr/testify v1.10.0 // indirect
|
2024-06-04 13:29:42 -04:00
|
|
|
github.com/subosito/gotenv v1.4.2 // indirect
|
2025-02-25 18:12:27 -05:00
|
|
|
github.com/tdakkota/asciicheck v0.4.0 // indirect
|
|
|
|
|
github.com/tetafro/godot v1.4.20 // indirect
|
|
|
|
|
github.com/timakin/bodyclose v0.0.0-20241017074812-ed6a65f985e3 // indirect
|
|
|
|
|
github.com/timonwong/loggercheck v0.10.1 // indirect
|
|
|
|
|
github.com/tomarrell/wrapcheck/v2 v2.10.0 // indirect
|
2023-02-06 01:53:02 -05:00
|
|
|
github.com/tommy-muehle/go-mnd/v2 v2.5.1 // indirect
|
2025-02-25 18:12:27 -05:00
|
|
|
github.com/ultraware/funlen v0.2.0 // indirect
|
|
|
|
|
github.com/ultraware/whitespace v0.2.0 // indirect
|
|
|
|
|
github.com/uudashr/gocognit v1.2.0 // indirect
|
|
|
|
|
github.com/uudashr/iface v1.3.1 // indirect
|
2023-10-24 05:20:11 -04:00
|
|
|
github.com/xen0n/gosmopolitan v1.2.2 // indirect
|
2022-05-04 10:27:41 -04:00
|
|
|
github.com/yagipy/maintidx v1.0.0 // indirect
|
2025-02-25 18:12:27 -05:00
|
|
|
github.com/yeya24/promlinter v0.3.0 // indirect
|
2024-02-22 02:03:10 -05:00
|
|
|
github.com/ykadowak/zerologlint v0.1.5 // indirect
|
2025-02-25 18:12:27 -05:00
|
|
|
gitlab.com/bosi/decorder v0.4.2 // indirect
|
|
|
|
|
go-simpler.org/musttag v0.13.0 // indirect
|
|
|
|
|
go-simpler.org/sloglint v0.9.0 // indirect
|
2024-06-04 13:29:42 -04:00
|
|
|
go.uber.org/atomic v1.9.0 // indirect
|
|
|
|
|
go.uber.org/multierr v1.8.0 // indirect
|
2023-06-27 02:03:11 -04:00
|
|
|
go.uber.org/zap v1.24.0 // indirect
|
2025-02-25 18:12:27 -05:00
|
|
|
golang.org/x/exp v0.0.0-20240909161429-701f63a606c0 // indirect
|
|
|
|
|
golang.org/x/exp/typeparams v0.0.0-20250210185358-939b2ce775ac // indirect
|
|
|
|
|
golang.org/x/sync v0.11.0 // indirect
|
|
|
|
|
golang.org/x/sys v0.30.0 // 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
|
|
|
golang.org/x/term v0.18.0 // indirect
|
2025-02-25 18:12:27 -05:00
|
|
|
golang.org/x/text v0.22.0 // indirect
|
|
|
|
|
golang.org/x/tools v0.30.0 // indirect
|
|
|
|
|
google.golang.org/protobuf v1.36.4 // indirect
|
2022-10-20 05:24:30 -04:00
|
|
|
gopkg.in/ini.v1 v1.67.0 // 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-02-25 18:12:27 -05:00
|
|
|
mvdan.cc/gofumpt v0.7.0 // indirect
|
|
|
|
|
mvdan.cc/unparam v0.0.0-20240528143540-8a5130ca722f // indirect
|
2022-05-04 10:27:41 -04:00
|
|
|
)
|