update test-infra to pick up the fix (#759)

This commit is contained in:
Chi Zhang 2020-03-24 12:56:10 -07:00 committed by GitHub
parent 1f5a1b8566
commit bedfa99b83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 20 additions and 9 deletions

4
go.mod
View File

@ -21,8 +21,8 @@ require (
k8s.io/client-go v0.17.0
knative.dev/eventing v0.13.4
knative.dev/pkg v0.0.0-20200323231609-0840da9555a3
knative.dev/serving v0.13.1-0.20200323211309-d1be5c476fef
knative.dev/test-infra v0.0.0-20200324033909-0042e9ca752c
knative.dev/serving v0.13.1-0.20200324164309-ce10070bb7ef
knative.dev/test-infra v0.0.0-20200324183109-d81c66eea4e6
sigs.k8s.io/yaml v1.1.0
)

8
go.sum
View File

@ -596,10 +596,10 @@ knative.dev/eventing v0.13.4 h1:UqTsfNza4BX5W0+KDoCjPOa+mkU4idE+HolqG7SdN0w=
knative.dev/eventing v0.13.4/go.mod h1:UxweNv8yXhsdHJitcb9R6rmfNaUD2DFi9GWwNRyIs58=
knative.dev/pkg v0.0.0-20200323231609-0840da9555a3 h1:lox+XrjDaw+aJxl5LZ7e+NO9Hj1OWm/ZWyyu8a2rKVI=
knative.dev/pkg v0.0.0-20200323231609-0840da9555a3/go.mod h1:pgODObA1dTyhNoFxPZTTjNWfx6F0aKsKzn+vaT9XO/Q=
knative.dev/serving v0.13.1-0.20200323211309-d1be5c476fef h1:fvTesC3kLmw5O71er+GQ9SsvR2mh38r3XcdY2fPrqf4=
knative.dev/serving v0.13.1-0.20200323211309-d1be5c476fef/go.mod h1:x2n255JS2XBI39tmjZ8CwTxIf9EKNMCrkVuiOttLRm0=
knative.dev/test-infra v0.0.0-20200324033909-0042e9ca752c h1:J2lgcU2CRPCtWGGDBvy02wBE6fqhemIWLuxMAarx2VY=
knative.dev/test-infra v0.0.0-20200324033909-0042e9ca752c/go.mod h1:xcdUkMJrLlBswIZqL5zCuBFOC22WIPMQoVX1L35i0vQ=
knative.dev/serving v0.13.1-0.20200324164309-ce10070bb7ef h1:4CWRxXBbhEFS8kw26awitohUBZ5ao4iNWqMUdu/uf98=
knative.dev/serving v0.13.1-0.20200324164309-ce10070bb7ef/go.mod h1:x2n255JS2XBI39tmjZ8CwTxIf9EKNMCrkVuiOttLRm0=
knative.dev/test-infra v0.0.0-20200324183109-d81c66eea4e6 h1:cttACHBnpN7b509UJnQV1tCD/ssIIGJhHSdHzpPeMzE=
knative.dev/test-infra v0.0.0-20200324183109-d81c66eea4e6/go.mod h1:xcdUkMJrLlBswIZqL5zCuBFOC22WIPMQoVX1L35i0vQ=
modernc.org/cc v1.0.0/go.mod h1:1Sk4//wdnYJiUIxnW8ddKpaOJCF37yAdqYnkxUpaYxw=
modernc.org/golex v1.0.0/go.mod h1:b/QX9oBD/LhixY6NDh+IdGv17hgB+51fET1i2kPSmvk=
modernc.org/mathutil v1.0.0/go.mod h1:wU0vUrJsVWBZ4P6e7xtFJEhFSNsfRLJ8H458uRjg03k=

View File

@ -482,7 +482,18 @@ function run_go_tool() {
if [[ -z "$(which ${tool})" ]]; then
local action=get
[[ $1 =~ ^[\./].* ]] && action=install
go ${action} $1
# Avoid running `go get` from root dir of the repository, as it can change go.sum and go.mod files.
# See discussions in https://github.com/golang/go/issues/27643.
if [[ ${action} == "get" && $(pwd) == "${REPO_ROOT_DIR}" ]]; then
local temp_dir="$(mktemp -d)"
local install_failed=0
pushd "${temp_dir}"
go ${action} $1 || install_failed=1
popd
(( install_failed )) && return ${install_failed}
else
go ${action} $1
fi
fi
shift 2
${tool} "$@"

4
vendor/modules.txt vendored
View File

@ -513,7 +513,7 @@ knative.dev/pkg/logging/logkey
knative.dev/pkg/profiling
knative.dev/pkg/ptr
knative.dev/pkg/tracker
# knative.dev/serving v0.13.1-0.20200323211309-d1be5c476fef
# knative.dev/serving v0.13.1-0.20200324164309-ce10070bb7ef
knative.dev/serving/pkg/apis/autoscaling
knative.dev/serving/pkg/apis/autoscaling/v1alpha1
knative.dev/serving/pkg/apis/config
@ -527,7 +527,7 @@ knative.dev/serving/pkg/autoscaler/config
knative.dev/serving/pkg/client/clientset/versioned/scheme
knative.dev/serving/pkg/client/clientset/versioned/typed/serving/v1
knative.dev/serving/pkg/client/clientset/versioned/typed/serving/v1/fake
# knative.dev/test-infra v0.0.0-20200324033909-0042e9ca752c
# knative.dev/test-infra v0.0.0-20200324183109-d81c66eea4e6
knative.dev/test-infra/scripts
# sigs.k8s.io/kustomize v2.0.3+incompatible
sigs.k8s.io/kustomize/pkg/commands/build