Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ require (
k8s.io/api v0.35.3
k8s.io/apimachinery v0.35.3
k8s.io/client-go v0.35.3
knative.dev/client/pkg v0.0.0-20260415023934-20c8c9c714a8
knative.dev/eventing-kafka-broker v0.48.1-0.20260415134139-4ac20e87c15c
knative.dev/hack v0.0.0-20260415233235-54d1312ccc91
knative.dev/client/pkg v0.0.0-20260416140638-89c2f233d6b4
knative.dev/eventing-kafka-broker v0.48.1-0.20260416132936-7566a71b16b7
knative.dev/hack v0.0.0-20260416140237-504af4d2178f
knative.dev/pkg v0.0.0-20260416015135-a395c1078b3d
)

Expand Down Expand Up @@ -102,7 +102,7 @@ require (
k8s.io/klog/v2 v2.130.1 // indirect
k8s.io/kube-openapi v0.0.0-20250910181357-589584f1c912 // indirect
k8s.io/utils v0.0.0-20251002143259-bc988d571ff4 // indirect
knative.dev/eventing v0.48.1-0.20260414191034-3b3ea1d037e6 // indirect
knative.dev/eventing v0.48.1-0.20260415165636-0a7b2da46145 // indirect
knative.dev/networking v0.0.0-20260414015937-f29b24983488 // indirect
knative.dev/serving v0.48.1-0.20260414185134-ed8b5055a09c // indirect
sigs.k8s.io/gateway-api v1.1.0 // indirect
Expand Down
16 changes: 8 additions & 8 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -295,14 +295,14 @@ k8s.io/kube-openapi v0.0.0-20250910181357-589584f1c912 h1:Y3gxNAuB0OBLImH611+UDZ
k8s.io/kube-openapi v0.0.0-20250910181357-589584f1c912/go.mod h1:kdmbQkyfwUagLfXIad1y2TdrjPFWp2Q89B3qkRwf/pQ=
k8s.io/utils v0.0.0-20251002143259-bc988d571ff4 h1:SjGebBtkBqHFOli+05xYbK8YF1Dzkbzn+gDM4X9T4Ck=
k8s.io/utils v0.0.0-20251002143259-bc988d571ff4/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
knative.dev/client/pkg v0.0.0-20260415023934-20c8c9c714a8 h1:CJhimvHkWd7DDXwSJXkwqHLOiatDLTzTOMCotqjPaUU=
knative.dev/client/pkg v0.0.0-20260415023934-20c8c9c714a8/go.mod h1:ETBAuEqQmtH+o+aF0GA8f3Qu8LXwWgW8pI28vua3h+c=
knative.dev/eventing v0.48.1-0.20260414191034-3b3ea1d037e6 h1:maXR76gTo6zpNjZOir4npylXw5wQX2BcXisq8fcaf4c=
knative.dev/eventing v0.48.1-0.20260414191034-3b3ea1d037e6/go.mod h1:Y3FYNf5gNCIuqv+NzUAmqfbHJ8n+TxXSsZoV/20jfV0=
knative.dev/eventing-kafka-broker v0.48.1-0.20260415134139-4ac20e87c15c h1:1QGM8J5ayBARx0VVHKHPLEtunYJlMGbaEK91LAid7cY=
knative.dev/eventing-kafka-broker v0.48.1-0.20260415134139-4ac20e87c15c/go.mod h1:dxBghJ01WqOaMq5a3RAPGLCPWkwjZ4jRpCsZS42Eovw=
knative.dev/hack v0.0.0-20260415233235-54d1312ccc91 h1:YkboMEJ48h7DxRQSPe2SePm1yKK0YYgrsQW5Mmc0SEk=
knative.dev/hack v0.0.0-20260415233235-54d1312ccc91/go.mod h1:L5RzHgbvam0u8QFHfzCX6MKxu/a/gIGEdaRBqNiVbl0=
knative.dev/client/pkg v0.0.0-20260416140638-89c2f233d6b4 h1:6C8Pg5HrPfhPB8P3r47cNDrQW/tDqciXBQdVjKqlcp8=
knative.dev/client/pkg v0.0.0-20260416140638-89c2f233d6b4/go.mod h1:ETBAuEqQmtH+o+aF0GA8f3Qu8LXwWgW8pI28vua3h+c=
knative.dev/eventing v0.48.1-0.20260415165636-0a7b2da46145 h1:p6CRV2KuYXk1dW2AWSJ11N4gYJy82Trtpciwj7BZTNg=
knative.dev/eventing v0.48.1-0.20260415165636-0a7b2da46145/go.mod h1:ykUKyweljeKMmkxcrkMEgl3S6tubLzeF/bPAqeddvl0=
knative.dev/eventing-kafka-broker v0.48.1-0.20260416132936-7566a71b16b7 h1:RkhRFpVMcKsRxZEYMhGepkkFffU0qMe3ch7zkRe6or0=
knative.dev/eventing-kafka-broker v0.48.1-0.20260416132936-7566a71b16b7/go.mod h1:q1ymTgr8jMQSWAREzaBqZtnrkTKn+/TU+pKbPN+puKI=
knative.dev/hack v0.0.0-20260416140237-504af4d2178f h1:YTht2cGdhd++kSrhwcDutWpk1V1bi0vKpAs0h4xIjpw=
knative.dev/hack v0.0.0-20260416140237-504af4d2178f/go.mod h1:L5RzHgbvam0u8QFHfzCX6MKxu/a/gIGEdaRBqNiVbl0=
knative.dev/networking v0.0.0-20260414015937-f29b24983488 h1:OZfg130Kbf1bibhmLITAVdu2S0P2y0utBc74SgakzcQ=
knative.dev/networking v0.0.0-20260414015937-f29b24983488/go.mod h1:hEhUDqidhueU6J/OXW0K9peQh8wIvFvIWTSHL/611og=
knative.dev/pkg v0.0.0-20260416015135-a395c1078b3d h1:u9tHGBMUh1CYgZOdIBxeXpjvEPNIXT/rCjWVFUtzzs8=
Expand Down
20 changes: 14 additions & 6 deletions vendor/knative.dev/hack/library.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@ if [[ ! -v GOPATH ]]; then
fi
fi

# Pinned tool versions
readonly GUM_VERSION="v0.14.1"
readonly GOTESTSUM_VERSION="v1.13.0"
readonly GOTESTFMT_VERSION="v2.5.0"
readonly TERMINAL_TO_HTML_VERSION="v3.10.0"
readonly GO_LICENSES_VERSION="v2.0.1"

# Useful environment variables
[[ -v PROW_JOB_ID ]] && IS_PROW=1 || IS_PROW=0
readonly IS_PROW
Expand Down Expand Up @@ -265,7 +272,7 @@ function gum_banner() {

# Simple info banner for logging purposes.
function gum_style() {
go_run github.com/charmbracelet/gum@v0.14.1 style "$@"
go_run "github.com/charmbracelet/gum@${GUM_VERSION}" style "$@"
}

# Checks whether the given function exists.
Expand Down Expand Up @@ -588,7 +595,7 @@ function report_go_test() {
logfile="${logfile/.xml/.jsonl}"
echo "Running go test with args: ${go_test_args[*]}"
local gotest_retcode=0
go_run gotest.tools/gotestsum@v1.13.0 \
go_run "gotest.tools/gotestsum@${GOTESTSUM_VERSION}" \
--format "${GO_TEST_VERBOSITY:-testname}" \
--junitfile "${xml}" \
--junitfile-testsuite-name relative \
Expand All @@ -601,14 +608,14 @@ function report_go_test() {
echo "Test log (JSONL) written to ${logfile}"

ansilog="${logfile/.jsonl/-ansi.log}"
go_run github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@v2.5.0 \
go_run "github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@${GOTESTFMT_VERSION}" \
-input "${logfile}" \
-showteststatus \
-nofail > "$ansilog"
echo "Test log (ANSI) written to ${ansilog}"

htmllog="${logfile/.jsonl/.html}"
go_run github.com/buildkite/terminal-to-html/v3/cmd/terminal-to-html@v3.10.0 \
go_run "github.com/buildkite/terminal-to-html/v3/cmd/terminal-to-html@${TERMINAL_TO_HTML_VERSION}" \
--preview < "$ansilog" > "$htmllog"
echo "Test log (HTML) written to ${htmllog}"

Expand Down Expand Up @@ -921,13 +928,14 @@ function run_kntest() {
}

# Run go-licenses to check for forbidden licenses.
# Extra flags can be passed via the GO_LICENSES_FLAGS environment variable.
function check_licenses() {
# Pin GOTOOLCHAIN to the project's Go version so that go-licenses is
# compiled with the same toolchain. GOTOOLCHAIN=auto (the go_run default)
# may select a different Go, causing isStdLib() path mismatches.
GOTOOLCHAIN="$(go env GOVERSION)" \
go_run github.com/google/go-licenses/v2@v2.0.1 \
check "${REPO_ROOT_DIR}/..." || \
go_run "github.com/google/go-licenses/v2@${GO_LICENSES_VERSION}" \
check ${GO_LICENSES_FLAGS:-} "${REPO_ROOT_DIR}/..." || \
{ echo "--- FAIL: go-licenses failed the license check"; return 1; }
}

Expand Down
8 changes: 4 additions & 4 deletions vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -845,7 +845,7 @@ k8s.io/utils/net
k8s.io/utils/pointer
k8s.io/utils/ptr
k8s.io/utils/trace
# knative.dev/client/pkg v0.0.0-20260415023934-20c8c9c714a8
# knative.dev/client/pkg v0.0.0-20260416140638-89c2f233d6b4
## explicit; go 1.25.0
knative.dev/client/pkg/apis/client
knative.dev/client/pkg/apis/client/v1alpha1
Expand All @@ -872,7 +872,7 @@ knative.dev/client/pkg/util/errors
knative.dev/client/pkg/util/mock
knative.dev/client/pkg/util/test
knative.dev/client/pkg/wait
# knative.dev/eventing v0.48.1-0.20260414191034-3b3ea1d037e6
# knative.dev/eventing v0.48.1-0.20260415165636-0a7b2da46145
## explicit; go 1.25.0
knative.dev/eventing/pkg/apis/common/integration/v1alpha1
knative.dev/eventing/pkg/apis/config
Expand Down Expand Up @@ -906,7 +906,7 @@ knative.dev/eventing/pkg/client/clientset/versioned/typed/sources/v1
knative.dev/eventing/pkg/client/clientset/versioned/typed/sources/v1/fake
knative.dev/eventing/pkg/crossnamespace
knative.dev/eventing/pkg/eventingtls
# knative.dev/eventing-kafka-broker v0.48.1-0.20260415134139-4ac20e87c15c
# knative.dev/eventing-kafka-broker v0.48.1-0.20260416132936-7566a71b16b7
## explicit; go 1.25.0
knative.dev/eventing-kafka-broker/control-plane/pkg/apis/bindings
knative.dev/eventing-kafka-broker/control-plane/pkg/apis/bindings/v1
Expand All @@ -924,7 +924,7 @@ knative.dev/eventing-kafka-broker/control-plane/pkg/apis/sources/v1beta1
knative.dev/eventing-kafka-broker/control-plane/pkg/client/clientset/versioned/scheme
knative.dev/eventing-kafka-broker/control-plane/pkg/client/clientset/versioned/typed/sources/v1beta1
knative.dev/eventing-kafka-broker/control-plane/pkg/client/clientset/versioned/typed/sources/v1beta1/fake
# knative.dev/hack v0.0.0-20260415233235-54d1312ccc91
# knative.dev/hack v0.0.0-20260416140237-504af4d2178f
## explicit; go 1.24
knative.dev/hack
# knative.dev/networking v0.0.0-20260414015937-f29b24983488
Expand Down
Loading