Skip to content

Commit

Permalink
upgrade to latest dependencies (knative#1625)
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/serving cec7125...1c72423:
  > 1c72423 Update net-gateway-api nightly (# 14602)
  > 9defe38 Update net-kourier nightly (# 14605)
  > 0ac084c Update net-contour nightly (# 14604)

Signed-off-by: Knative Automation <[email protected]>
  • Loading branch information
knative-automation authored Nov 10, 2023
1 parent e8066e2 commit 7f4be55
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 10 deletions.
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ require (
k8s.io/utils v0.0.0-20230209194617-a36077c30491
knative.dev/caching v0.0.0-20231108204433-b3781bc47aeb
knative.dev/eventing v0.39.1-0.20231108081932-e3b797031d76
knative.dev/hack v0.0.0-20231107173840-883479423aaa
knative.dev/hack v0.0.0-20231109190034-5deaddeb51a7
knative.dev/pkg v0.0.0-20231108014432-35011d423d4b
knative.dev/serving v0.39.1-0.20231108143733-cec7125ee324
knative.dev/serving v0.39.1-0.20231109191543-1c72423f9206
sigs.k8s.io/yaml v1.4.0
)

Expand Down
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1394,14 +1394,14 @@ knative.dev/caching v0.0.0-20231108204433-b3781bc47aeb h1:9kuTebXS3SuSxWLGr/5epl
knative.dev/caching v0.0.0-20231108204433-b3781bc47aeb/go.mod h1:owQX47ghEY9OIaxvoTZ9KyJTfEiwLgwY94tyHoUlLUU=
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/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/networking v0.0.0-20231103063604-18529fd26a8b h1:bimYPtsVmXBGjA0dARsoyNFKtREIVceVScnKdsHmqjo=
knative.dev/networking v0.0.0-20231103063604-18529fd26a8b/go.mod h1:XKuKrS5QCQ3LkPeOYBZqyUxseBIBLpujxttejIBjoCk=
knative.dev/pkg v0.0.0-20231108014432-35011d423d4b h1:WrDo9M6vkJ4xnTBodWOT2koXjKqr7dOqJH4RWBq4kBw=
knative.dev/pkg v0.0.0-20231108014432-35011d423d4b/go.mod h1:zkycL49skv31nWKvT1XAsSMFO6mUu33Qhpv0xDvdVGY=
knative.dev/serving v0.39.1-0.20231108143733-cec7125ee324 h1:Qyyw4LELdq/Cs7BmcnBOb7lxEigOK/FFa4Y8uQ1qj2k=
knative.dev/serving v0.39.1-0.20231108143733-cec7125ee324/go.mod h1:xO2/gBMQC6zNmluxIZvIIllwCXjjy8Exa9E501uXg3s=
knative.dev/serving v0.39.1-0.20231109191543-1c72423f9206 h1:Xno1YS9INi2P+u8OweoCYkGQN5cbvp0Psq9hnB3fBmA=
knative.dev/serving v0.39.1-0.20231109191543-1c72423f9206/go.mod h1:xO2/gBMQC6zNmluxIZvIIllwCXjjy8Exa9E501uXg3s=
nhooyr.io/websocket v1.8.6/go.mod h1:B70DZP8IakI65RVQ51MsWP/8jndNma26DVA/nFSCgW0=
pgregory.net/rapid v1.1.0 h1:CMa0sjHSru3puNx+J0MIAuiiEV4N0qj8/cMWGBBCsjw=
rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
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
4 changes: 2 additions & 2 deletions vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1363,7 +1363,7 @@ 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/hack/shell
Expand Down Expand Up @@ -1462,7 +1462,7 @@ knative.dev/pkg/webhook
knative.dev/pkg/webhook/certificates
knative.dev/pkg/webhook/certificates/resources
knative.dev/pkg/webhook/resourcesemantics/conversion
# knative.dev/serving v0.39.1-0.20231108143733-cec7125ee324
# knative.dev/serving v0.39.1-0.20231109191543-1c72423f9206
## explicit; go 1.18
knative.dev/serving/pkg/apis/autoscaling
knative.dev/serving/pkg/apis/autoscaling/v1alpha1
Expand Down

0 comments on commit 7f4be55

Please sign in to comment.