Skip to content

Commit 5884825

Browse files
upgrade to latest dependencies (#336)
bumping knative.dev/hack 7556452...d1317b0: > d1317b0 errexit and pipefail should remain off until downstream is fixed (# 228) > df80419 🐛 Fix for test failures of knative/serving# 13292 (# 227) Signed-off-by: Knative Automation <[email protected]> Signed-off-by: Knative Automation <[email protected]>
1 parent 70262bd commit 5884825

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ require (
66
github.com/spf13/cobra v1.3.0
77
gotest.tools/v3 v3.1.0
88
knative.dev/client v0.34.1-0.20220906114442-59948bb3723d
9-
knative.dev/hack v0.0.0-20220913095247-7556452c2b54
9+
knative.dev/hack v0.0.0-20220914183605-d1317b08c0c3
1010

1111
)
1212

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2174,8 +2174,8 @@ knative.dev/eventing v0.34.1-0.20220902060017-e1866d7660ee/go.mod h1:6UnNnPrEUNA
21742174
knative.dev/hack v0.0.0-20220815132133-e9a8475f4329/go.mod h1:t/azP8I/Cygaw+87O7rkAPrNRjCelmtfSzWzu/9TM7I=
21752175
knative.dev/hack v0.0.0-20220823140917-8d1e4ccf9dc3/go.mod h1:t/azP8I/Cygaw+87O7rkAPrNRjCelmtfSzWzu/9TM7I=
21762176
knative.dev/hack v0.0.0-20220902220419-664eac5c391e/go.mod h1:yk2OjGDsbEnQjfxdm0/HJKS2WqTLEFg/N6nUs6Rqx3Q=
2177-
knative.dev/hack v0.0.0-20220913095247-7556452c2b54 h1:JycKYjjK9+noO3IWvRES6gW65SMUf/efNhaXRqh3u+A=
2178-
knative.dev/hack v0.0.0-20220913095247-7556452c2b54/go.mod h1:yk2OjGDsbEnQjfxdm0/HJKS2WqTLEFg/N6nUs6Rqx3Q=
2177+
knative.dev/hack v0.0.0-20220914183605-d1317b08c0c3 h1:5s3/9VZuTfdVGFIF/+7FUju9nHKyIOg6jsFXw7rhdIM=
2178+
knative.dev/hack v0.0.0-20220914183605-d1317b08c0c3/go.mod h1:yk2OjGDsbEnQjfxdm0/HJKS2WqTLEFg/N6nUs6Rqx3Q=
21792179
knative.dev/hack/schema v0.0.0-20220823140917-8d1e4ccf9dc3/go.mod h1:ffjwmdcrH5vN3mPhO8RrF2KfNnbHeCE2C60A+2cv3U0=
21802180
knative.dev/networking v0.0.0-20220831065816-215bac90b28b/go.mod h1:vMMT540KNAh6TWmpGEFnExTxJ/j9cee5qNV7Bs0kzUk=
21812181
knative.dev/pkg v0.0.0-20220818004048-4a03844c0b15/go.mod h1:YLjXbkQLlGHok+u0FLfMbBHFzY9WGu3GHhnrptoAy8I=

vendor/knative.dev/hack/e2e-tests.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ function go_test_e2e() {
5454

5555
# Setup the test cluster for running the tests.
5656
function setup_test_cluster() {
57-
(
5857
# Fail fast during setup.
5958
set -o errexit
6059
set -o pipefail
@@ -109,7 +108,6 @@ function setup_test_cluster() {
109108
if function_exists test_setup; then
110109
test_setup || fail_test "test setup failed"
111110
fi
112-
)
113111
}
114112

115113
# Signal (as return code and in the logs) that all E2E tests passed.
@@ -125,7 +123,7 @@ function success() {
125123
# Parameters: $* - error message (optional).
126124
function fail_test() {
127125
local message="$*"
128-
if [[ -n ${message:-} ]]; then
126+
if [[ "X${message:-}X" == "XX" ]]; then
129127
message='test failed'
130128
fi
131129
add_trap "dump_cluster_state;dump_metrics" EXIT

vendor/modules.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ gotest.tools/v3/internal/source
3131
# knative.dev/client v0.34.1-0.20220906114442-59948bb3723d
3232
## explicit; go 1.18
3333
knative.dev/client/pkg/kn/plugin
34-
# knative.dev/hack v0.0.0-20220913095247-7556452c2b54
34+
# knative.dev/hack v0.0.0-20220914183605-d1317b08c0c3
3535
## explicit; go 1.18
3636
knative.dev/hack

0 commit comments

Comments
 (0)