Skip to content

Commit

Permalink
upgrade to latest dependencies (#495)
Browse files Browse the repository at this point in the history
bumping knative.dev/networking 3bd0f7d...e0bee34:
  > e0bee34 upgrade to latest dependencies (# 889)
  > 18529fd upgrade to latest dependencies (# 888)
bumping knative.dev/eventing d978f3c...e3b7970:
  > e3b7970 [main] Upgrade to latest dependencies (# 7430)
  > cc3d30e [main] Upgrade to latest dependencies (# 7429)
  > 62e797b [main] Upgrade to latest dependencies (# 7428)
bumping knative.dev/serving 789c322...17fa595:
  > 17fa595 upgrade to latest dependencies (# 14608)
  > 1c72423 Update net-gateway-api nightly (# 14602)
  > 9defe38 Update net-kourier nightly (# 14605)
  > 0ac084c Update net-contour nightly (# 14604)
  > cec7125 Update net-certmanager nightly (# 14603)
  > 65ce2ae upgrade to latest dependencies (# 14601)
  > 16884ca Update net-kourier nightly (# 14590)
  > e963ec7 Update net-certmanager nightly (# 14599)
  > f3e1a2d Drop CI reverse compatibility for auto-tls rename (# 14595)
  > df38a6b upgrade to latest dependencies with websocket v1.5.0 (# 14598)
  > a72f181 Update net-istio nightly (# 14596)
bumping knative.dev/pkg acf0a2d...6564cf1:
  > 6564cf1 upgrade to latest dependencies (# 2893)
  > 35011d4 upgrade to latest dependencies (# 2892)
  > 5c9b7a8 upgrade to latest dependencies (# 2887)
bumping knative.dev/hack 0d99b7e...5deadde:
  > 5deadde 🐛 Set latest release only when publishing to Github (# 346)
  > 8834794 Call set_latest_to_highest_semver after publishing a new release (# 343)

Signed-off-by: Knative Automation <[email protected]>
  • Loading branch information
knative-automation authored Nov 10, 2023
1 parent 306868c commit 1d03b20
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 25 deletions.
10 changes: 5 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ require (
k8s.io/api v0.27.6
k8s.io/apimachinery v0.27.6
k8s.io/client-go v0.27.6
knative.dev/eventing v0.39.1-0.20231103063133-d978f3c993fd
knative.dev/hack v0.0.0-20231102183416-0d99b7ee9d63
knative.dev/pkg v0.0.0-20231106073528-acf0a2d2dea9
knative.dev/serving v0.39.1-0.20231106011704-789c322ca551
knative.dev/eventing v0.39.1-0.20231108081932-e3b797031d76
knative.dev/hack v0.0.0-20231109190034-5deaddeb51a7
knative.dev/pkg v0.0.0-20231109234131-6564cf14689f
knative.dev/serving v0.39.1-0.20231110001346-17fa595188b1
)

require (
Expand Down Expand Up @@ -101,7 +101,7 @@ require (
k8s.io/klog/v2 v2.90.1 // indirect
k8s.io/kube-openapi v0.0.0-20230501164219-8b0f38b5fd1f // indirect
k8s.io/utils v0.0.0-20230209194617-a36077c30491 // indirect
knative.dev/networking v0.0.0-20231102061026-3bd0f7d578ab // indirect
knative.dev/networking v0.0.0-20231108061732-e0bee342a97e // indirect
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
sigs.k8s.io/yaml v1.4.0 // indirect
Expand Down
20 changes: 10 additions & 10 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -780,16 +780,16 @@ k8s.io/kube-openapi v0.0.0-20230501164219-8b0f38b5fd1f h1:2kWPakN3i/k81b0gvD5C5F
k8s.io/kube-openapi v0.0.0-20230501164219-8b0f38b5fd1f/go.mod h1:byini6yhqGC14c3ebc/QwanvYwhuMWF6yz2F8uwW8eg=
k8s.io/utils v0.0.0-20230209194617-a36077c30491 h1:r0BAOLElQnnFhE/ApUsg3iHdVYYPBjNSSOMowRZxxsY=
k8s.io/utils v0.0.0-20230209194617-a36077c30491/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
knative.dev/eventing v0.39.1-0.20231103063133-d978f3c993fd h1:TqqEeyk73nRY4excMiV3+gt8v9+0eWFnG6B7jzD3Ma4=
knative.dev/eventing v0.39.1-0.20231103063133-d978f3c993fd/go.mod h1:CR1AGu7mtm9w3JdRpdrolMmoYtOeP4vb0jPUMOi0r6U=
knative.dev/hack v0.0.0-20231102183416-0d99b7ee9d63 h1:QNbIbsep8jreNCXj3EFrsw0RtsrmMZw7yxYyUG5AILs=
knative.dev/hack v0.0.0-20231102183416-0d99b7ee9d63/go.mod h1:yk2OjGDsbEnQjfxdm0/HJKS2WqTLEFg/N6nUs6Rqx3Q=
knative.dev/networking v0.0.0-20231102061026-3bd0f7d578ab h1:nc74ZRbybCGuRh0PmNwQOi/YQn+BFxsvWFYdBKmXeDs=
knative.dev/networking v0.0.0-20231102061026-3bd0f7d578ab/go.mod h1:ogTL4b/TmCRVhbKxRO7Z+9g/Mzsxo4LKXlCkw8CY0qA=
knative.dev/pkg v0.0.0-20231106073528-acf0a2d2dea9 h1:9JQb0ETlOXxtXb6zeJuvjcdsI5BQ83Rv1PEzIzC8B8U=
knative.dev/pkg v0.0.0-20231106073528-acf0a2d2dea9/go.mod h1:jCNm6Y66ArM8uDqpHwRwW7LuMFn79Q3KIn5L1R/WfI4=
knative.dev/serving v0.39.1-0.20231106011704-789c322ca551 h1:LRrzg40NxDqN6R1/i7T4G7R3fbhH3foJjpwz1Dx0pJY=
knative.dev/serving v0.39.1-0.20231106011704-789c322ca551/go.mod h1:OwgMhUqz/RICNYvaIRmzVFQN6isQFOEFPPr3Fypn05Q=
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-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-20231108061732-e0bee342a97e h1:IFZuDN6IA3lzGt3zVgQ1VbTPSdDcCkdvD0SmxZ3blBM=
knative.dev/networking v0.0.0-20231108061732-e0bee342a97e/go.mod h1:cu01aODvz01sLC80d7Md6M8pSFi7RMurQnCubeeVH40=
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/serving v0.39.1-0.20231110001346-17fa595188b1 h1:Mz8w0UkXF468bzE7vECjs13Zc8pVDaRyDcR/QfTdx/o=
knative.dev/serving v0.39.1-0.20231110001346-17fa595188b1/go.mod h1:V3y4IjbCI31gRAoXMtYf8eF8v5KON/2iUPOLxJ/QHrI=
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=
rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA=
Expand Down
18 changes: 13 additions & 5 deletions vendor/knative.dev/hack/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -652,24 +652,31 @@ function publish_artifacts() {
fi
[[ -n "${RELEASE_GCS_BUCKET}" ]] && publish_to_gcs "${ARTIFACTS_TO_PUBLISH}"
publish_to_github "${ARTIFACTS_TO_PUBLISH}"
set_latest_to_highest_semver
banner "New release published successfully"
}

# 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)"
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"
fi

hub_tool api --method PATCH /repos/knative/serving/releases/$release_id -F make_latest=true > /dev/null || abort "error settomg $last_version to 'latest'"
hub_tool api --method PATCH "/repos/knative/serving/releases/$release_id" \
-F make_latest=true > /dev/null || abort "error settomg $last_version to 'latest'"
echo "Github release ${last_version} set as 'latest'"
}

Expand Down Expand Up @@ -699,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 Expand Up @@ -745,7 +754,6 @@ function main() {
done
echo "New release built successfully"
publish_artifacts
set_latest_to_highest_semver
}

# Publishes a new release on GitHub, also git tagging it (unless this is not a versioned release).
Expand Down
10 changes: 5 additions & 5 deletions vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -963,7 +963,7 @@ k8s.io/utils/net
k8s.io/utils/pointer
k8s.io/utils/strings/slices
k8s.io/utils/trace
# knative.dev/eventing v0.39.1-0.20231103063133-d978f3c993fd
# knative.dev/eventing v0.39.1-0.20231108081932-e3b797031d76
## explicit; go 1.19
knative.dev/eventing/pkg/adapter/v2
knative.dev/eventing/pkg/adapter/v2/util/crstatusevent
Expand Down Expand Up @@ -1009,15 +1009,15 @@ knative.dev/eventing/pkg/observability
knative.dev/eventing/pkg/observability/client
knative.dev/eventing/pkg/reconciler/resources
knative.dev/eventing/pkg/reconciler/source
# knative.dev/hack v0.0.0-20231102183416-0d99b7ee9d63
# knative.dev/hack v0.0.0-20231109190034-5deaddeb51a7
## explicit; go 1.18
knative.dev/hack
# knative.dev/networking v0.0.0-20231102061026-3bd0f7d578ab
# knative.dev/networking v0.0.0-20231108061732-e0bee342a97e
## explicit; go 1.18
knative.dev/networking/pkg/apis/networking
knative.dev/networking/pkg/apis/networking/v1alpha1
knative.dev/networking/pkg/config
# knative.dev/pkg v0.0.0-20231106073528-acf0a2d2dea9
# knative.dev/pkg v0.0.0-20231109234131-6564cf14689f
## explicit; go 1.18
knative.dev/pkg/apis
knative.dev/pkg/apis/duck
Expand Down Expand Up @@ -1070,7 +1070,7 @@ knative.dev/pkg/tracker
knative.dev/pkg/version
knative.dev/pkg/webhook
knative.dev/pkg/webhook/certificates/resources
# knative.dev/serving v0.39.1-0.20231106011704-789c322ca551
# knative.dev/serving v0.39.1-0.20231110001346-17fa595188b1
## explicit; go 1.18
knative.dev/serving/pkg/apis/autoscaling
knative.dev/serving/pkg/apis/autoscaling/v1alpha1
Expand Down

0 comments on commit 1d03b20

Please sign in to comment.