File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,9 +14,9 @@ require (
1414 k8s.io/apimachinery v0.35.3
1515 k8s.io/client-go v0.35.3
1616 knative.dev/client/pkg v0.0.0-20260415023934-20c8c9c714a8
17- knative.dev/hack v0.0.0-20260415132636-9909d690ab4d
17+ knative.dev/hack v0.0.0-20260415233235-54d1312ccc91
1818 knative.dev/networking v0.0.0-20260414015937-f29b24983488
19- knative.dev/serving v0.48.1-0.20260415134738-923a8c7a9c62
19+ knative.dev/serving v0.48.1-0.20260415213836-1017c2be6232
2020)
2121
2222require (
Original file line number Diff line number Diff line change @@ -307,14 +307,14 @@ knative.dev/client/pkg v0.0.0-20260415023934-20c8c9c714a8 h1:CJhimvHkWd7DDXwSJXk
307307knative.dev/client/pkg v0.0.0-20260415023934-20c8c9c714a8 /go.mod h1:ETBAuEqQmtH+o+aF0GA8f3Qu8LXwWgW8pI28vua3h+c =
308308knative.dev/eventing v0.48.1-0.20260414191034-3b3ea1d037e6 h1:maXR76gTo6zpNjZOir4npylXw5wQX2BcXisq8fcaf4c =
309309knative.dev/eventing v0.48.1-0.20260414191034-3b3ea1d037e6 /go.mod h1:Y3FYNf5gNCIuqv+NzUAmqfbHJ8n+TxXSsZoV/20jfV0 =
310- knative.dev/hack v0.0.0-20260415132636-9909d690ab4d h1:ckrA4ssLeQF0dKfvL8Do9IKR+5tHE9Oiy1eNx+3YNz8 =
311- knative.dev/hack v0.0.0-20260415132636-9909d690ab4d /go.mod h1:L5RzHgbvam0u8QFHfzCX6MKxu/a/gIGEdaRBqNiVbl0 =
310+ knative.dev/hack v0.0.0-20260415233235-54d1312ccc91 h1:YkboMEJ48h7DxRQSPe2SePm1yKK0YYgrsQW5Mmc0SEk =
311+ knative.dev/hack v0.0.0-20260415233235-54d1312ccc91 /go.mod h1:L5RzHgbvam0u8QFHfzCX6MKxu/a/gIGEdaRBqNiVbl0 =
312312knative.dev/networking v0.0.0-20260414015937-f29b24983488 h1:OZfg130Kbf1bibhmLITAVdu2S0P2y0utBc74SgakzcQ =
313313knative.dev/networking v0.0.0-20260414015937-f29b24983488 /go.mod h1:hEhUDqidhueU6J/OXW0K9peQh8wIvFvIWTSHL/611og =
314314knative.dev/pkg v0.0.0-20260414003832-e65cbe95a718 h1:/8xILwHO82gYQXgqQgP9jbSpxg8rmsl/mk1YrYtY/hs =
315315knative.dev/pkg v0.0.0-20260414003832-e65cbe95a718 /go.mod h1:m+Jaj5UyK7VkrEx6rt4buVX3a5eaB+vtJqEfQVGnAGQ =
316- knative.dev/serving v0.48.1-0.20260415134738-923a8c7a9c62 h1:DNlIDY0wLH490FECzobYMCL9drhqLAzck2jY+V9+piY =
317- knative.dev/serving v0.48.1-0.20260415134738-923a8c7a9c62 /go.mod h1:P60pzf3AwCuySGeD/rviwvWixfZBgyTeQJJkZRycRkw =
316+ knative.dev/serving v0.48.1-0.20260415213836-1017c2be6232 h1:X40FtJL9UgCu2olo1Ua35m/STmrWSuaqCgDZH4fNT48 =
317+ knative.dev/serving v0.48.1-0.20260415213836-1017c2be6232 /go.mod h1:JAdfGImM+Dv8I9SHjnCH861S9B2l/mxy5wQcduQ90Qo =
318318sigs.k8s.io/gateway-api v1.1.0 h1:DsLDXCi6jR+Xz8/xd0Z1PYl2Pn0TyaFMOPPZIj4inDM =
319319sigs.k8s.io/gateway-api v1.1.0 /go.mod h1:ZH4lHrL2sDi0FHZ9jjneb8kKnGzFWyrTya35sWUTrRs =
320320sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 h1:IpInykpT6ceI+QxKBbEflcR5EXP7sU1kvOlxwZh5txg =
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
8889function 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
Original file line number Diff line number Diff line change @@ -922,7 +922,10 @@ function run_kntest() {
922922
923923# Run go-licenses to check for forbidden licenses.
924924function 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; }
Original file line number Diff line number Diff line change @@ -986,7 +986,7 @@ knative.dev/eventing/pkg/client/clientset/versioned/typed/sources/v1
986986knative.dev/eventing/pkg/client/clientset/versioned/typed/sources/v1/fake
987987knative.dev/eventing/pkg/crossnamespace
988988knative.dev/eventing/pkg/eventingtls
989- # knative.dev/hack v0.0.0-20260415132636-9909d690ab4d
989+ # knative.dev/hack v0.0.0-20260415233235-54d1312ccc91
990990## explicit; go 1.24
991991knative.dev/hack
992992# knative.dev/networking v0.0.0-20260414015937-f29b24983488
@@ -1045,7 +1045,7 @@ knative.dev/pkg/test/ingress
10451045knative.dev/pkg/test/logging
10461046knative.dev/pkg/test/spoof
10471047knative.dev/pkg/tracker
1048- # knative.dev/serving v0.48.1-0.20260415134738-923a8c7a9c62
1048+ # knative.dev/serving v0.48.1-0.20260415213836-1017c2be6232
10491049## explicit; go 1.25.0
10501050knative.dev/serving/pkg/apis/autoscaling
10511051knative.dev/serving/pkg/apis/autoscaling/v1alpha1
You can’t perform that action at this time.
0 commit comments