Skip to content

Commit cfbaa9d

Browse files
upgrade to latest dependencies
bumping knative.dev/hack 9909d69...54d1312: > 54d1312 fix check_licenses GOTOOLCHAIN mismatch with go-licenses (# 464) > 748c85e Fix create kind test cluster args (# 466) bumping knative.dev/pkg 388556d...a395c10: > a395c10 upgrade to latest dependencies (# 3345) Signed-off-by: Knative Automation <automation@knative.team>
1 parent b30e66c commit cfbaa9d

6 files changed

Lines changed: 23 additions & 15 deletions

File tree

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ require (
1414
k8s.io/client-go v0.35.3
1515
knative.dev/client/pkg v0.0.0-20260415023934-20c8c9c714a8
1616
knative.dev/eventing-kafka-broker v0.48.1-0.20260415134139-4ac20e87c15c
17-
knative.dev/hack v0.0.0-20260415132636-9909d690ab4d
18-
knative.dev/pkg v0.0.0-20260415140041-388556d5c488
17+
knative.dev/hack v0.0.0-20260415233235-54d1312ccc91
18+
knative.dev/pkg v0.0.0-20260416015135-a395c1078b3d
1919
)
2020

2121
require (

go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -301,12 +301,12 @@ knative.dev/eventing v0.48.1-0.20260414191034-3b3ea1d037e6 h1:maXR76gTo6zpNjZOir
301301
knative.dev/eventing v0.48.1-0.20260414191034-3b3ea1d037e6/go.mod h1:Y3FYNf5gNCIuqv+NzUAmqfbHJ8n+TxXSsZoV/20jfV0=
302302
knative.dev/eventing-kafka-broker v0.48.1-0.20260415134139-4ac20e87c15c h1:1QGM8J5ayBARx0VVHKHPLEtunYJlMGbaEK91LAid7cY=
303303
knative.dev/eventing-kafka-broker v0.48.1-0.20260415134139-4ac20e87c15c/go.mod h1:dxBghJ01WqOaMq5a3RAPGLCPWkwjZ4jRpCsZS42Eovw=
304-
knative.dev/hack v0.0.0-20260415132636-9909d690ab4d h1:ckrA4ssLeQF0dKfvL8Do9IKR+5tHE9Oiy1eNx+3YNz8=
305-
knative.dev/hack v0.0.0-20260415132636-9909d690ab4d/go.mod h1:L5RzHgbvam0u8QFHfzCX6MKxu/a/gIGEdaRBqNiVbl0=
304+
knative.dev/hack v0.0.0-20260415233235-54d1312ccc91 h1:YkboMEJ48h7DxRQSPe2SePm1yKK0YYgrsQW5Mmc0SEk=
305+
knative.dev/hack v0.0.0-20260415233235-54d1312ccc91/go.mod h1:L5RzHgbvam0u8QFHfzCX6MKxu/a/gIGEdaRBqNiVbl0=
306306
knative.dev/networking v0.0.0-20260414015937-f29b24983488 h1:OZfg130Kbf1bibhmLITAVdu2S0P2y0utBc74SgakzcQ=
307307
knative.dev/networking v0.0.0-20260414015937-f29b24983488/go.mod h1:hEhUDqidhueU6J/OXW0K9peQh8wIvFvIWTSHL/611og=
308-
knative.dev/pkg v0.0.0-20260415140041-388556d5c488 h1:7rmo6AW+6NLaWI+qTWv0ABlXz1bpdpaNnnpSBiuQ3vs=
309-
knative.dev/pkg v0.0.0-20260415140041-388556d5c488/go.mod h1:LaL/m4gFNTSUOP0DvHNCVcruVTi5Dyzts5/6UlPuTEQ=
308+
knative.dev/pkg v0.0.0-20260416015135-a395c1078b3d h1:u9tHGBMUh1CYgZOdIBxeXpjvEPNIXT/rCjWVFUtzzs8=
309+
knative.dev/pkg v0.0.0-20260416015135-a395c1078b3d/go.mod h1:SvS4U6mNzjdSvasGVgnuox9eKsG9INWroDcpBo0wFnE=
310310
knative.dev/serving v0.48.1-0.20260414185134-ed8b5055a09c h1:mfYQzcnAJ2OfUq+aaIkqmU1uKa4id1C7+TF/Ry/uYF0=
311311
knative.dev/serving v0.48.1-0.20260414185134-ed8b5055a09c/go.mod h1:P60pzf3AwCuySGeD/rviwvWixfZBgyTeQJJkZRycRkw=
312312
sigs.k8s.io/gateway-api v1.1.0 h1:DsLDXCi6jR+Xz8/xd0Z1PYl2Pn0TyaFMOPPZIj4inDM=

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

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,14 @@ function setup_test_cluster() {
5454
header "Setting up test cluster"
5555
kubectl get nodes
5656

57-
# Set the actual project the test cluster resides in
58-
# It will be a project assigned by Boskos if test is running on Prow,
59-
# otherwise will be ${E2E_GCP_PROJECT_ID} set up by user.
60-
E2E_PROJECT_ID="$(gcloud config get-value project)"
57+
# Set the actual project the test cluster resides in. For GKE this
58+
# comes from the Boskos-configured gcloud context; for other
59+
# providers (e.g. kind) it is not meaningful and is left empty.
60+
if [[ "${CLOUD_PROVIDER}" == "gke" ]]; then
61+
E2E_PROJECT_ID="$(gcloud config get-value project)"
62+
else
63+
E2E_PROJECT_ID=""
64+
fi
6165
export E2E_PROJECT_ID
6266
readonly E2E_PROJECT_ID
6367

vendor/knative.dev/hack/infra-library.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ function dump_cluster_state() {
8484
# Create a test cluster and run the tests if provided.
8585
# Parameters: $1 - cluster provider name, e.g. gke
8686
# $2 - custom flags supported by kntest
87-
# $3 - test command to run after cluster is created
87+
# $3 - extra gcloud flags (gke only)
88+
# $4 - test command to run after cluster is created
8889
function create_test_cluster() {
8990
# Fail fast during setup.
9091
set -o errexit
@@ -96,7 +97,7 @@ function create_test_cluster() {
9697

9798
case "$1" in
9899
gke) create_gke_test_cluster "$2" "$3" "$4" "${5:-}" ;;
99-
kind) create_kind_test_cluster "$2" "$3" "${4:-}" ;;
100+
kind) create_kind_test_cluster "$2" "${4:-}" ;;
100101
*) echo "unsupported provider: $1"; exit 1 ;;
101102
esac
102103

vendor/knative.dev/hack/library.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -922,7 +922,10 @@ function run_kntest() {
922922

923923
# Run go-licenses to check for forbidden licenses.
924924
function check_licenses() {
925-
# Check that we don't have any forbidden licenses.
925+
# Pin GOTOOLCHAIN to the project's Go version so that go-licenses is
926+
# compiled with the same toolchain. GOTOOLCHAIN=auto (the go_run default)
927+
# may select a different Go, causing isStdLib() path mismatches.
928+
GOTOOLCHAIN="$(go env GOVERSION)" \
926929
go_run github.com/google/go-licenses/v2@v2.0.1 \
927930
check "${REPO_ROOT_DIR}/..." || \
928931
{ echo "--- FAIL: go-licenses failed the license check"; return 1; }

vendor/modules.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -924,7 +924,7 @@ knative.dev/eventing-kafka-broker/control-plane/pkg/apis/sources/v1beta1
924924
knative.dev/eventing-kafka-broker/control-plane/pkg/client/clientset/versioned/scheme
925925
knative.dev/eventing-kafka-broker/control-plane/pkg/client/clientset/versioned/typed/sources/v1beta1
926926
knative.dev/eventing-kafka-broker/control-plane/pkg/client/clientset/versioned/typed/sources/v1beta1/fake
927-
# knative.dev/hack v0.0.0-20260415132636-9909d690ab4d
927+
# knative.dev/hack v0.0.0-20260415233235-54d1312ccc91
928928
## explicit; go 1.24
929929
knative.dev/hack
930930
# knative.dev/networking v0.0.0-20260414015937-f29b24983488
@@ -934,7 +934,7 @@ knative.dev/networking/pkg/apis/networking/v1alpha1
934934
knative.dev/networking/pkg/config
935935
knative.dev/networking/pkg/http/header
936936
knative.dev/networking/pkg/ingress
937-
# knative.dev/pkg v0.0.0-20260415140041-388556d5c488
937+
# knative.dev/pkg v0.0.0-20260416015135-a395c1078b3d
938938
## explicit; go 1.25.0
939939
knative.dev/pkg/apis
940940
knative.dev/pkg/apis/duck

0 commit comments

Comments
 (0)