upgrade to latest dependencies (#4951)

bumping knative.dev/hack 2a09b5c...ccf82ad:
  > ccf82ad Update community files (# 174)
  > 46c77f1 Skip passing enable-ha flag to test script (# 173)
  > 5f47386 Update community files (# 171)

Signed-off-by: Knative Automation <automation@knative.team>
This commit is contained in:
knative-automation 2022-05-06 12:19:29 -04:00 committed by GitHub
parent a6d6a53c42
commit 01d085d65e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 6 deletions

2
go.mod
View File

@ -28,7 +28,7 @@ require (
gopkg.in/go-playground/webhooks.v3 v3.13.0
gopkg.in/yaml.v2 v2.3.0
honnef.co/go/tools v0.0.1-2020.1.5 // indirect
knative.dev/hack v0.0.0-20220426205654-2a09b5c38889
knative.dev/hack v0.0.0-20220505013956-ccf82ad03f32
)
replace go.opencensus.io => go.opencensus.io v0.20.2

4
go.sum
View File

@ -538,8 +538,8 @@ honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9
honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k=
honnef.co/go/tools v0.0.1-2020.1.5 h1:nI5egYTGJakVyOryqLs1cQO5dO0ksin5XXs2pspk75k=
honnef.co/go/tools v0.0.1-2020.1.5/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k=
knative.dev/hack v0.0.0-20220426205654-2a09b5c38889 h1:hS/9rhvXv4eCEcRatXRwHbVZVTJfGVvFFSMbrxBeuBs=
knative.dev/hack v0.0.0-20220426205654-2a09b5c38889/go.mod h1:PHt8x8yX5Z9pPquBEfIj0X66f8iWkWfR0S/sarACJrI=
knative.dev/hack v0.0.0-20220505013956-ccf82ad03f32 h1:VDTiwtTW9TCxa8DhKJC4RIc3TBeqibLVpv9EOqVYMr8=
knative.dev/hack v0.0.0-20220505013956-ccf82ad03f32/go.mod h1:PHt8x8yX5Z9pPquBEfIj0X66f8iWkWfR0S/sarACJrI=
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=

View File

@ -137,13 +137,17 @@ CLOUD_PROVIDER="gke"
function initialize() {
local run_tests=0
local custom_flags=()
local parse_script_flags=0
E2E_SCRIPT="$(get_canonical_path "$0")"
local e2e_script_command=( "${E2E_SCRIPT}" "--run-tests" )
for i in "$@"; do
if [[ $i == "--run-tests" ]]; then parse_script_flags=1; fi
done
cd "${REPO_ROOT_DIR}"
while [[ $# -ne 0 ]]; do
local parameter=$1
# TODO(chizhg): remove parse_flags logic if no repos are using it.
# Try parsing flag as a custom one.
if function_exists parse_flags; then
parse_flags "$@"
@ -152,7 +156,10 @@ function initialize() {
# Skip parsed flag (and possibly argument) and continue
# Also save it to it's passed through to the test script
for ((i=1;i<=skip;i++)); do
e2e_script_command+=("$1")
# Avoid double-parsing
if (( parse_script_flags )); then
e2e_script_command+=("$1")
fi
shift
done
continue

2
vendor/modules.txt vendored
View File

@ -286,7 +286,7 @@ gopkg.in/go-playground/webhooks.v3/github
gopkg.in/yaml.v2
# honnef.co/go/tools v0.0.1-2020.1.5
## explicit
# knative.dev/hack v0.0.0-20220426205654-2a09b5c38889
# knative.dev/hack v0.0.0-20220505013956-ccf82ad03f32
## explicit
knative.dev/hack
# go.opencensus.io => go.opencensus.io v0.20.2