Skip to content
This repository was archived by the owner on Oct 10, 2024. It is now read-only.

Commit dadf3ad

Browse files
upgrade to latest dependencies (#414)
bumping knative.dev/eventing 36e0721...07d3790: > 07d3790 SinkBinding wrongly enqueues namespaces (# 8184) > 902f9d3 Migrate to kube_codegen.sh (# 8183) > 34f9cd3 Disable controller default health probes in the IMC dispatcher (# 8125) > ecae895 AuthZ: Provide function to update AppliedEventPoliciesStatus based on a given list of applying policies (# 8173) > 833f4aa Split AuthZ e2e tests (# 8181) bumping knative.dev/hack 06f7aff...9724320: > 9724320 Fix premature codegen cleanup exit on 1 (# 397) Signed-off-by: Knative Automation <[email protected]>
1 parent 461ee19 commit dadf3ad

File tree

7 files changed

+87
-19
lines changed

7 files changed

+87
-19
lines changed

go.mod

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ require (
99
k8s.io/api v0.30.3
1010
k8s.io/apimachinery v0.30.3
1111
k8s.io/client-go v0.30.3
12-
knative.dev/eventing v0.42.1-0.20240822171311-36e0721b3852
13-
knative.dev/hack v0.0.0-20240814130635-06f7aff93954
12+
knative.dev/eventing v0.42.1-0.20240902133926-07d379056bd8
13+
knative.dev/hack v0.0.0-20240904112633-9724320e463f
1414
knative.dev/pkg v0.0.0-20240815051656-89743d9bbf7c
1515
)
1616

go.sum

+4-4
Original file line numberDiff line numberDiff line change
@@ -648,10 +648,10 @@ k8s.io/kube-openapi v0.0.0-20240808142205-8e686545bdb8 h1:1Wof1cGQgA5pqgo8MxKPtf
648648
k8s.io/kube-openapi v0.0.0-20240808142205-8e686545bdb8/go.mod h1:Os6V6dZwLNii3vxFpxcNaTmH8LJJBkOTg1N0tOA0fvA=
649649
k8s.io/utils v0.0.0-20240711033017-18e509b52bc8 h1:pUdcCO1Lk/tbT5ztQWOBi5HBgbBP1J8+AsQnQCKsi8A=
650650
k8s.io/utils v0.0.0-20240711033017-18e509b52bc8/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
651-
knative.dev/eventing v0.42.1-0.20240822171311-36e0721b3852 h1:Ulgi6VO5b0/VAvSNvHIgls0GBiXlb9+S51KbtOzO4LU=
652-
knative.dev/eventing v0.42.1-0.20240822171311-36e0721b3852/go.mod h1:Clx8z37Nwg321H9+vGNxp5C6bVdo4l4XM5g6T5CgZVI=
653-
knative.dev/hack v0.0.0-20240814130635-06f7aff93954 h1:dGMK5VoL75szvrYQTL9NqhPYHu1f5dGaXx1hJI8fAFM=
654-
knative.dev/hack v0.0.0-20240814130635-06f7aff93954/go.mod h1:R0ritgYtjLDO9527h5vb5X6gfvt5LCrJ55BNbVDsWiY=
651+
knative.dev/eventing v0.42.1-0.20240902133926-07d379056bd8 h1:doFWIRq/Gsoha36qpKBDv6gHqV4/wzlcvtvy2M/MJ74=
652+
knative.dev/eventing v0.42.1-0.20240902133926-07d379056bd8/go.mod h1:Clx8z37Nwg321H9+vGNxp5C6bVdo4l4XM5g6T5CgZVI=
653+
knative.dev/hack v0.0.0-20240904112633-9724320e463f h1:UQcD5RVBSEitzbNRQOfoJHJ1Rs29hiii7bzhUvU8s8A=
654+
knative.dev/hack v0.0.0-20240904112633-9724320e463f/go.mod h1:R0ritgYtjLDO9527h5vb5X6gfvt5LCrJ55BNbVDsWiY=
655655
knative.dev/pkg v0.0.0-20240815051656-89743d9bbf7c h1:2crXVk4FG0dSG6WHaIT+WKbUzn7qG2wn0AfYmvA22zs=
656656
knative.dev/pkg v0.0.0-20240815051656-89743d9bbf7c/go.mod h1:cI2RPEEHZk+/dBpfHobs0aBdPA1mMZVUVWnGAc8NSzM=
657657
rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=

vendor/knative.dev/eventing/pkg/apis/messaging/v1/zz_generated.defaults.go

+33
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/knative.dev/eventing/pkg/apis/sources/v1/zz_generated.defaults.go

+33
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

+12-10
Original file line numberDiff line numberDiff line change
@@ -133,16 +133,18 @@ function restore-changes-if-its-copyright-year-only() {
133133
local difflist
134134
log "Cleaning up generated code"
135135
difflist="$(mktemp)"
136-
git diff --exit-code --name-only > "$difflist"
137-
# list git changes and skip those which differ only in the boilerplate year
138-
while read -r file; do
139-
# check if the file contains just the change in the boilerplate year
140-
if [ "$(LANG=C git diff --exit-code --shortstat -- "$file")" = ' 1 file changed, 1 insertion(+), 1 deletion(-)' ] && \
141-
[[ "$(git diff --exit-code -U1 -- "$file" | grep -Ec '^[+-]\s*[*#]?\s*Copyright 2[0-9]{3}')" -eq 2 ]]; then
142-
# restore changes to that file
143-
git checkout -- "$file"
144-
fi
145-
done < "$difflist"
136+
if ! git diff --exit-code --name-only > /dev/null; then
137+
# list git changes and skip those which differ only in the boilerplate year
138+
git diff --name-only > "$difflist"
139+
while read -r file; do
140+
# check if the file contains just the change in the boilerplate year
141+
if [ "$(LANG=C git diff --exit-code --shortstat -- "$file")" = ' 1 file changed, 1 insertion(+), 1 deletion(-)' ] && \
142+
[[ "$(git diff --exit-code -U1 -- "$file" | grep -Ec '^[+-]\s*[*#]?\s*Copyright 2[0-9]{3}')" -eq 2 ]]; then
143+
# restore changes to that file
144+
git checkout -- "$file"
145+
fi
146+
done < "$difflist"
147+
fi
146148
rm -f "$difflist"
147149
}
148150

vendor/knative.dev/hack/library.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -774,7 +774,7 @@ function go_update_deps() {
774774
function __clean_goworksum_if_exists() {
775775
if [ -f "$REPO_ROOT_DIR/go.work.sum" ]; then
776776
log.step 'Cleaning the go.work.sum file'
777-
truncate --size 0 "$REPO_ROOT_DIR/go.work.sum"
777+
truncate -s 0 "$REPO_ROOT_DIR/go.work.sum"
778778
fi
779779
}
780780

vendor/modules.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -859,7 +859,7 @@ k8s.io/utils/pointer
859859
k8s.io/utils/ptr
860860
k8s.io/utils/strings/slices
861861
k8s.io/utils/trace
862-
# knative.dev/eventing v0.42.1-0.20240822171311-36e0721b3852
862+
# knative.dev/eventing v0.42.1-0.20240902133926-07d379056bd8
863863
## explicit; go 1.22.0
864864
knative.dev/eventing/pkg/apis/config
865865
knative.dev/eventing/pkg/apis/duck
@@ -875,7 +875,7 @@ knative.dev/eventing/pkg/apis/sources/config
875875
knative.dev/eventing/pkg/apis/sources/v1
876876
knative.dev/eventing/pkg/crossnamespace
877877
knative.dev/eventing/pkg/eventingtls
878-
# knative.dev/hack v0.0.0-20240814130635-06f7aff93954
878+
# knative.dev/hack v0.0.0-20240904112633-9724320e463f
879879
## explicit; go 1.21
880880
knative.dev/hack
881881
# knative.dev/pkg v0.0.0-20240815051656-89743d9bbf7c

0 commit comments

Comments
 (0)