Skip to content

Commit 0ffb780

Browse files
upgrade to latest dependencies (#1000)
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 e65cbe9...388556d: > 388556d upgrade to latest dependencies (# 3344) Signed-off-by: Knative Automation <automation@knative.team>
1 parent a753404 commit 0ffb780

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
@@ -10,8 +10,8 @@ require (
1010
k8s.io/client-go v0.35.3
1111
k8s.io/code-generator v0.35.3
1212
k8s.io/kube-openapi v0.0.0-20250910181357-589584f1c912
13-
knative.dev/hack v0.0.0-20260415132636-9909d690ab4d
14-
knative.dev/pkg v0.0.0-20260414003832-e65cbe95a718
13+
knative.dev/hack v0.0.0-20260415233235-54d1312ccc91
14+
knative.dev/pkg v0.0.0-20260415140041-388556d5c488
1515
)
1616

1717
require (

go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,10 @@ k8s.io/kube-openapi v0.0.0-20250910181357-589584f1c912 h1:Y3gxNAuB0OBLImH611+UDZ
157157
k8s.io/kube-openapi v0.0.0-20250910181357-589584f1c912/go.mod h1:kdmbQkyfwUagLfXIad1y2TdrjPFWp2Q89B3qkRwf/pQ=
158158
k8s.io/utils v0.0.0-20251002143259-bc988d571ff4 h1:SjGebBtkBqHFOli+05xYbK8YF1Dzkbzn+gDM4X9T4Ck=
159159
k8s.io/utils v0.0.0-20251002143259-bc988d571ff4/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
160-
knative.dev/hack v0.0.0-20260415132636-9909d690ab4d h1:ckrA4ssLeQF0dKfvL8Do9IKR+5tHE9Oiy1eNx+3YNz8=
161-
knative.dev/hack v0.0.0-20260415132636-9909d690ab4d/go.mod h1:L5RzHgbvam0u8QFHfzCX6MKxu/a/gIGEdaRBqNiVbl0=
162-
knative.dev/pkg v0.0.0-20260414003832-e65cbe95a718 h1:/8xILwHO82gYQXgqQgP9jbSpxg8rmsl/mk1YrYtY/hs=
163-
knative.dev/pkg v0.0.0-20260414003832-e65cbe95a718/go.mod h1:m+Jaj5UyK7VkrEx6rt4buVX3a5eaB+vtJqEfQVGnAGQ=
160+
knative.dev/hack v0.0.0-20260415233235-54d1312ccc91 h1:YkboMEJ48h7DxRQSPe2SePm1yKK0YYgrsQW5Mmc0SEk=
161+
knative.dev/hack v0.0.0-20260415233235-54d1312ccc91/go.mod h1:L5RzHgbvam0u8QFHfzCX6MKxu/a/gIGEdaRBqNiVbl0=
162+
knative.dev/pkg v0.0.0-20260415140041-388556d5c488 h1:7rmo6AW+6NLaWI+qTWv0ABlXz1bpdpaNnnpSBiuQ3vs=
163+
knative.dev/pkg v0.0.0-20260415140041-388556d5c488/go.mod h1:LaL/m4gFNTSUOP0DvHNCVcruVTi5Dyzts5/6UlPuTEQ=
164164
sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 h1:IpInykpT6ceI+QxKBbEflcR5EXP7sU1kvOlxwZh5txg=
165165
sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730/go.mod h1:mdzfpAEoE6DHQEN0uh9ZbOCuHbLK5wOm7dK4ctXE9Tg=
166166
sigs.k8s.io/randfill v1.0.0 h1:JfjMILfT8A6RbawdsK2JXGBR5AQVfd+9TbzrlneTyrU=

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
@@ -729,10 +729,10 @@ k8s.io/utils/lru
729729
k8s.io/utils/net
730730
k8s.io/utils/ptr
731731
k8s.io/utils/trace
732-
# knative.dev/hack v0.0.0-20260415132636-9909d690ab4d
732+
# knative.dev/hack v0.0.0-20260415233235-54d1312ccc91
733733
## explicit; go 1.24
734734
knative.dev/hack
735-
# knative.dev/pkg v0.0.0-20260414003832-e65cbe95a718
735+
# knative.dev/pkg v0.0.0-20260415140041-388556d5c488
736736
## explicit; go 1.25.0
737737
knative.dev/pkg/apis
738738
knative.dev/pkg/apis/duck

0 commit comments

Comments
 (0)