Skip to content

Commit

Permalink
upgrade to latest dependencies (knative-extensions#977)
Browse files Browse the repository at this point in the history
bumping knative.dev/hack 29f86c2...96aac1c:
  > 96aac1c Add wait_until_object_exists library function (# 96)
bumping knative.dev/control-protocol 256f50f...88c4c1e:
  > 88c4c1e Update actions (# 127)
  > cc648fa Update community files (# 126)
  > 9e3f0b9 upgrade to latest dependencies (# 125)
bumping knative.dev/eventing ee96d0b...a72cfc9:
  > a72cfc9 Remove unsupported stackdriver tracing backend (# 5881)
  > 36bf0bd Add securityContext to Knative Eventing core objects (# 5863)
  > 81afe0b upgrade to latest dependencies (# 5879)

Signed-off-by: Knative Automation <[email protected]>
  • Loading branch information
knative-automation authored Nov 9, 2021
1 parent 76680ca commit 5f634fa
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 17 deletions.
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ require (
k8s.io/apimachinery v0.21.4
k8s.io/client-go v0.21.4
k8s.io/utils v0.0.0-20201110183641-67b214c5f920
knative.dev/control-protocol v0.0.0-20211101205041-256f50f9b5a9
knative.dev/eventing v0.27.1-0.20211108073202-ee96d0b3b429
knative.dev/hack v0.0.0-20211105231158-29f86c2653b5
knative.dev/control-protocol v0.0.0-20211108155701-88c4c1e549c4
knative.dev/eventing v0.27.1-0.20211108221643-a72cfc91c421
knative.dev/hack v0.0.0-20211108170701-96aac1c30be3
knative.dev/pkg v0.0.0-20211108064904-3cc697a3cb09
knative.dev/reconciler-test v0.0.0-20211101213739-c5f938aa9974
)
18 changes: 7 additions & 11 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1323,22 +1323,18 @@ k8s.io/kube-openapi v0.0.0-20210305001622-591a79e4bda7 h1:vEx13qjvaZ4yfObSSXW7Br
k8s.io/kube-openapi v0.0.0-20210305001622-591a79e4bda7/go.mod h1:wXW5VT87nVfh/iLV8FpR2uDvrFyomxbtb1KivDbvPTE=
k8s.io/utils v0.0.0-20201110183641-67b214c5f920 h1:CbnUZsM497iRC5QMVkHwyl8s2tB3g7yaSHkYPkpgelw=
k8s.io/utils v0.0.0-20201110183641-67b214c5f920/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA=
knative.dev/control-protocol v0.0.0-20211101205041-256f50f9b5a9 h1:AS+of8wsIjgAivIgLdGZWqokXgUYNDVe0GNyJnJ3jNs=
knative.dev/control-protocol v0.0.0-20211101205041-256f50f9b5a9/go.mod h1:BOIcHyLM9l0pHtMEOcUJo0qRe3Qvrm4p3PXoKhEpeUA=
knative.dev/eventing v0.27.1-0.20211108073202-ee96d0b3b429 h1:WqtS6djERttPe2vqAih/N+W83C/jSD0V8CIJZwxCwf8=
knative.dev/eventing v0.27.1-0.20211108073202-ee96d0b3b429/go.mod h1:WsdNr/+tT/IqPeWzZuG3O9/zla/ZFniJC8PgJJWGT58=
knative.dev/hack v0.0.0-20211028194650-b96d65a5ff5e/go.mod h1:PHt8x8yX5Z9pPquBEfIj0X66f8iWkWfR0S/sarACJrI=
knative.dev/control-protocol v0.0.0-20211108155701-88c4c1e549c4 h1:uLe8w5a8eI1B0bsKVzFTO4msANCnIsuLgA0PRsAiR2s=
knative.dev/control-protocol v0.0.0-20211108155701-88c4c1e549c4/go.mod h1:5hOr3rdQDEBE/3LihWgyfkfowQn8V0Vur/qg+g42MXY=
knative.dev/eventing v0.27.1-0.20211108221643-a72cfc91c421 h1:RSA8U3xuGlX7S8ZF8IZKp6t7kbm4jWpBimpslvO0EI8=
knative.dev/eventing v0.27.1-0.20211108221643-a72cfc91c421/go.mod h1:lM+1rTzjcNmrPjTGaEk+QrmQGuM3/O+e3aN96GH4V0Y=
knative.dev/hack v0.0.0-20211101195839-11d193bf617b/go.mod h1:PHt8x8yX5Z9pPquBEfIj0X66f8iWkWfR0S/sarACJrI=
knative.dev/hack v0.0.0-20211102174540-b284d49386cc/go.mod h1:PHt8x8yX5Z9pPquBEfIj0X66f8iWkWfR0S/sarACJrI=
knative.dev/hack v0.0.0-20211105231158-29f86c2653b5 h1:9scsqLnVcUh6wnMY0vYo8MGBy1NAkjpjoukyhhkChU4=
knative.dev/hack v0.0.0-20211105231158-29f86c2653b5/go.mod h1:PHt8x8yX5Z9pPquBEfIj0X66f8iWkWfR0S/sarACJrI=
knative.dev/hack/schema v0.0.0-20211102174540-b284d49386cc/go.mod h1:ffjwmdcrH5vN3mPhO8RrF2KfNnbHeCE2C60A+2cv3U0=
knative.dev/pkg v0.0.0-20211028235650-5d9d300c2e40/go.mod h1:HyEqMTLzT2hGCisGaRMGzEE8b4Ym+7mhmVx5ygiX+fY=
knative.dev/hack v0.0.0-20211108170701-96aac1c30be3 h1:oSvRgnKoU308k7aXbPV3iL5Zh5kBGM2Ptar4hyeda+A=
knative.dev/hack v0.0.0-20211108170701-96aac1c30be3/go.mod h1:PHt8x8yX5Z9pPquBEfIj0X66f8iWkWfR0S/sarACJrI=
knative.dev/hack/schema v0.0.0-20211105231158-29f86c2653b5/go.mod h1:ffjwmdcrH5vN3mPhO8RrF2KfNnbHeCE2C60A+2cv3U0=
knative.dev/pkg v0.0.0-20211101212339-96c0204a70dc/go.mod h1:SkfDk9bWIiNZD7XtILGkG7AKVyF/M6M0bGxLgl0SYL8=
knative.dev/pkg v0.0.0-20211103135647-464034912f7e/go.mod h1:a+9AWOb0zOaBVU6xoPgTvEA7vfMnLjPnK4SX3ciSHKE=
knative.dev/pkg v0.0.0-20211108064904-3cc697a3cb09 h1:EuziitWfjhtDEI7vyNV79AtqFia5rACAFOy2rbinVo4=
knative.dev/pkg v0.0.0-20211108064904-3cc697a3cb09/go.mod h1:YiSfFDMdYHZTuO5XS8UzxSeOEmocy+Kb2YOGik9C8lw=
knative.dev/reconciler-test v0.0.0-20211029073051-cff9b538d33c/go.mod h1:PIwtS0at/rtnsNCxcZUAZUmWKKasTUYJ/w1Mk94bOdA=
knative.dev/reconciler-test v0.0.0-20211101213739-c5f938aa9974 h1:4eo67cEiDvEl1TgITT+3n1ivAcLFCQ6DBJnX855727E=
knative.dev/reconciler-test v0.0.0-20211101213739-c5f938aa9974/go.mod h1:gTsbLk496j/M9xqMpx/liyCQ0X3bwDpRtcs2Zzws364=
pgregory.net/rapid v0.3.3 h1:jCjBsY4ln4Atz78QoBWxUEvAHaFyNDQg9+WU62aCn1U=
Expand Down
26 changes: 26 additions & 0 deletions vendor/knative.dev/hack/library.sh
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,32 @@ function wait_until_object_does_not_exist() {
return 1
}

# Waits until the given object exists.
# Parameters: $1 - the kind of the object.
# $2 - object's name.
# $3 - namespace (optional).
function wait_until_object_exists() {
local KUBECTL_ARGS="get $1 $2"
local DESCRIPTION="$1 $2"

if [[ -n $3 ]]; then
KUBECTL_ARGS="get -n $3 $1 $2"
DESCRIPTION="$1 $3/$2"
fi
echo -n "Waiting until ${DESCRIPTION} exists"
for i in {1..150}; do # timeout after 5 minutes
if kubectl ${KUBECTL_ARGS} > /dev/null 2>&1; then
echo -e "\n${DESCRIPTION} exists"
return 0
fi
echo -n "."
sleep 2
done
echo -e "\n\nERROR: timeout waiting for ${DESCRIPTION} to exist"
kubectl ${KUBECTL_ARGS}
return 1
}

# Waits until all pods are running in the given namespace.
# This function handles some edge cases that `kubectl wait` does not support,
# and it provides nice debug info on the state of the pod if it failed,
Expand Down
6 changes: 3 additions & 3 deletions vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1182,15 +1182,15 @@ k8s.io/utils/buffer
k8s.io/utils/integer
k8s.io/utils/pointer
k8s.io/utils/trace
# knative.dev/control-protocol v0.0.0-20211101205041-256f50f9b5a9
# knative.dev/control-protocol v0.0.0-20211108155701-88c4c1e549c4
## explicit
knative.dev/control-protocol/pkg
knative.dev/control-protocol/pkg/certificates
knative.dev/control-protocol/pkg/message
knative.dev/control-protocol/pkg/network
knative.dev/control-protocol/pkg/reconciler
knative.dev/control-protocol/pkg/service
# knative.dev/eventing v0.27.1-0.20211108073202-ee96d0b3b429
# knative.dev/eventing v0.27.1-0.20211108221643-a72cfc91c421
## explicit
knative.dev/eventing/pkg/adapter/v2
knative.dev/eventing/pkg/adapter/v2/test
Expand Down Expand Up @@ -1328,7 +1328,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-20211105231158-29f86c2653b5
# knative.dev/hack v0.0.0-20211108170701-96aac1c30be3
## explicit
knative.dev/hack
knative.dev/hack/shell
Expand Down

0 comments on commit 5f634fa

Please sign in to comment.