Skip to content

Commit

Permalink
upgrade to latest dependencies (#3462)
Browse files Browse the repository at this point in the history
bumping knative.dev/hack 8834794...5deadde:
  > 5deadde 🐛 Set latest release only when publishing to Github (# 346)
bumping knative.dev/pkg 35011d4...6564cf1:
  > 6564cf1 upgrade to latest dependencies (# 2893)
bumping knative.dev/reconciler-test d2429fb...36fcbd0:
  > 36fcbd0 upgrade to latest dependencies (# 629)
  > 0b51fb9 upgrade to latest dependencies (# 628)

Signed-off-by: Knative Automation <[email protected]>
  • Loading branch information
knative-automation authored Nov 10, 2023
1 parent 4dcdbad commit 1a73353
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 14 deletions.
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ require (
k8s.io/client-go v0.27.6
k8s.io/utils v0.0.0-20230209194617-a36077c30491
knative.dev/eventing v0.39.1-0.20231108081932-e3b797031d76
knative.dev/hack v0.0.0-20231107173840-883479423aaa
knative.dev/pkg v0.0.0-20231108014432-35011d423d4b
knative.dev/reconciler-test v0.0.0-20231107120858-d2429fb0b545
knative.dev/hack v0.0.0-20231109190034-5deaddeb51a7
knative.dev/pkg v0.0.0-20231109234131-6564cf14689f
knative.dev/reconciler-test v0.0.0-20231109234136-36fcbd054949
sigs.k8s.io/controller-runtime v0.12.3
sigs.k8s.io/yaml v1.4.0
)
Expand Down
12 changes: 6 additions & 6 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1254,12 +1254,12 @@ k8s.io/utils v0.0.0-20230209194617-a36077c30491 h1:r0BAOLElQnnFhE/ApUsg3iHdVYYPB
k8s.io/utils v0.0.0-20230209194617-a36077c30491/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
knative.dev/eventing v0.39.1-0.20231108081932-e3b797031d76 h1:8BWkTOnmW8U0wNqLFU9AGgymnuhf0b4lcxKC/+UL1g0=
knative.dev/eventing v0.39.1-0.20231108081932-e3b797031d76/go.mod h1:i6R6Yif89VlVaNd4xyAqpZqryBDVv/j/ZFeMzHdgHxI=
knative.dev/hack v0.0.0-20231107173840-883479423aaa h1:XVFqW2a8xvyo231TbVSD3i+580pVej9LbTSmYex6d1g=
knative.dev/hack v0.0.0-20231107173840-883479423aaa/go.mod h1:yk2OjGDsbEnQjfxdm0/HJKS2WqTLEFg/N6nUs6Rqx3Q=
knative.dev/pkg v0.0.0-20231108014432-35011d423d4b h1:WrDo9M6vkJ4xnTBodWOT2koXjKqr7dOqJH4RWBq4kBw=
knative.dev/pkg v0.0.0-20231108014432-35011d423d4b/go.mod h1:zkycL49skv31nWKvT1XAsSMFO6mUu33Qhpv0xDvdVGY=
knative.dev/reconciler-test v0.0.0-20231107120858-d2429fb0b545 h1:0F0E77IbX5XxCxZ19Gopygwy+b6pVktrYAzMcFnVhK4=
knative.dev/reconciler-test v0.0.0-20231107120858-d2429fb0b545/go.mod h1:R7GebYEQbys4NXZJa0EzYx6+Hw3LZduuDkvp8FdBPU8=
knative.dev/hack v0.0.0-20231109190034-5deaddeb51a7 h1:HXf7M7n9jwn+Hp904r0HXRSymf+DLXSciFpXVpCg+Bs=
knative.dev/hack v0.0.0-20231109190034-5deaddeb51a7/go.mod h1:yk2OjGDsbEnQjfxdm0/HJKS2WqTLEFg/N6nUs6Rqx3Q=
knative.dev/pkg v0.0.0-20231109234131-6564cf14689f h1:DA4Gu57CAVdhWna0dj6OAFfwurjhvIsbnF1Sg+Esq8s=
knative.dev/pkg v0.0.0-20231109234131-6564cf14689f/go.mod h1:bG/l4f2gZBUCcpsTEf+yFB6NSG+Epmz6idd7cctlmIM=
knative.dev/reconciler-test v0.0.0-20231109234136-36fcbd054949 h1:/YkzlzrywuNVwpGyLVgFkwbmmRpXxNL1gcXQ4xkELGY=
knative.dev/reconciler-test v0.0.0-20231109234136-36fcbd054949/go.mod h1:Ps0NWuOGMxNZcnc2kpnPfySnPZ+eGc0LDEEk4qhPI6I=
pgregory.net/rapid v1.1.0 h1:CMa0sjHSru3puNx+J0MIAuiiEV4N0qj8/cMWGBBCsjw=
rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0=
Expand Down
11 changes: 9 additions & 2 deletions vendor/knative.dev/hack/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -658,13 +658,18 @@ function publish_artifacts() {

# Sets the github release with the highest semver to 'latest'
function set_latest_to_highest_semver() {
local last_version # don't combine with the line below, or $? will be 0
if ! (( PUBLISH_TO_GITHUB )); then
return 0
fi
echo "Setting latest release to highest semver"

local last_version release_id # don't combine with assignment else $? will be 0

last_version="$(hub_tool -p release | cut -d'-' -f2 | grep '^v[0-9]\+\.[0-9]\+\.[0-9]\+$'| sort -r -V | head -1)"
if ! [[ $? -eq 0 ]]; then
abort "cannot list releases"
fi

local release_id # don't combine with the line below, or $? will be 0
release_id="$(hub_tool api "/repos/${ORG_NAME}/${REPO_NAME}/releases/tags/knative-${last_version}" | jq .id)"
if [[ $? -ne 0 ]]; then
abort "cannot get relase id from github"
Expand Down Expand Up @@ -701,6 +706,8 @@ function main() {
function_exists build_release || abort "function 'build_release()' not defined"
[[ -x ${VALIDATION_TESTS} ]] || abort "test script '${VALIDATION_TESTS}' doesn't exist"

banner "Environment variables"
env
# Log what will be done and where.
banner "Release configuration"
if which gcloud &>/dev/null ; then
Expand Down
6 changes: 3 additions & 3 deletions vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1464,10 +1464,10 @@ knative.dev/eventing/test/upgrade/prober/wathola/fetcher
knative.dev/eventing/test/upgrade/prober/wathola/forwarder
knative.dev/eventing/test/upgrade/prober/wathola/receiver
knative.dev/eventing/test/upgrade/prober/wathola/sender
# knative.dev/hack v0.0.0-20231107173840-883479423aaa
# knative.dev/hack v0.0.0-20231109190034-5deaddeb51a7
## explicit; go 1.18
knative.dev/hack
# knative.dev/pkg v0.0.0-20231108014432-35011d423d4b
# knative.dev/pkg v0.0.0-20231109234131-6564cf14689f
## explicit; go 1.18
knative.dev/pkg/apiextensions/storageversion
knative.dev/pkg/apiextensions/storageversion/cmd/migrate
Expand Down Expand Up @@ -1582,7 +1582,7 @@ knative.dev/pkg/webhook/json
knative.dev/pkg/webhook/resourcesemantics
knative.dev/pkg/webhook/resourcesemantics/defaulting
knative.dev/pkg/webhook/resourcesemantics/validation
# knative.dev/reconciler-test v0.0.0-20231107120858-d2429fb0b545
# knative.dev/reconciler-test v0.0.0-20231109234136-36fcbd054949
## explicit; go 1.20
knative.dev/reconciler-test/cmd/eventshub
knative.dev/reconciler-test/pkg/environment
Expand Down

0 comments on commit 1a73353

Please sign in to comment.