mirror of https://github.com/knative/docs.git
upgrade to latest dependencies (#2992)
Signed-off-by: Knative Automation <automation@knative.team>
This commit is contained in:
parent
c14f768971
commit
4214d9fed5
4
go.mod
4
go.mod
|
@ -17,8 +17,8 @@ require (
|
||||||
gopkg.in/go-playground/assert.v1 v1.2.1 // indirect
|
gopkg.in/go-playground/assert.v1 v1.2.1 // indirect
|
||||||
gopkg.in/go-playground/webhooks.v3 v3.13.0
|
gopkg.in/go-playground/webhooks.v3 v3.13.0
|
||||||
gopkg.in/yaml.v2 v2.3.0
|
gopkg.in/yaml.v2 v2.3.0
|
||||||
knative.dev/hack v0.0.0-20201028205534-fe80f1c8af68
|
knative.dev/hack v0.0.0-20201103151104-3d5abc3a0075
|
||||||
knative.dev/net-istio v0.18.1-0.20201029032834-e6aad9b17020
|
knative.dev/net-istio v0.18.1-0.20201106015007-40b599209108
|
||||||
)
|
)
|
||||||
|
|
||||||
replace go.opencensus.io => go.opencensus.io v0.20.2
|
replace go.opencensus.io => go.opencensus.io v0.20.2
|
||||||
|
|
|
@ -512,16 +512,19 @@ function go_update_deps() {
|
||||||
|
|
||||||
export GO111MODULE=on
|
export GO111MODULE=on
|
||||||
export GOFLAGS=""
|
export GOFLAGS=""
|
||||||
|
export GOSUMDB=off # Do not use the sum.golang.org service.
|
||||||
|
|
||||||
echo "=== Update Deps for Golang"
|
echo "=== Update Deps for Golang"
|
||||||
|
|
||||||
local UPGRADE=0
|
local UPGRADE=0
|
||||||
local VERSION="master"
|
local VERSION="master"
|
||||||
|
local DOMAIN="knative.dev"
|
||||||
while [[ $# -ne 0 ]]; do
|
while [[ $# -ne 0 ]]; do
|
||||||
parameter=$1
|
parameter=$1
|
||||||
case ${parameter} in
|
case ${parameter} in
|
||||||
--upgrade) UPGRADE=1 ;;
|
--upgrade) UPGRADE=1 ;;
|
||||||
--release) shift; VERSION="$1" ;;
|
--release) shift; VERSION="$1" ;;
|
||||||
|
--domain) shift; DOMAIN="$1" ;;
|
||||||
*) abort "unknown option ${parameter}" ;;
|
*) abort "unknown option ${parameter}" ;;
|
||||||
esac
|
esac
|
||||||
shift
|
shift
|
||||||
|
@ -539,7 +542,7 @@ function go_update_deps() {
|
||||||
else
|
else
|
||||||
echo "Respecting 'GOPROXY=${GOPROXY}'."
|
echo "Respecting 'GOPROXY=${GOPROXY}'."
|
||||||
fi
|
fi
|
||||||
FLOATING_DEPS+=( $(run_go_tool knative.dev/test-infra/buoy buoy float ${REPO_ROOT_DIR}/go.mod --release ${VERSION} --domain knative.dev) )
|
FLOATING_DEPS+=( $(run_go_tool knative.dev/test-infra/buoy buoy float ${REPO_ROOT_DIR}/go.mod --release ${VERSION} --domain ${DOMAIN}) )
|
||||||
if [[ ${#FLOATING_DEPS[@]} > 0 ]]; then
|
if [[ ${#FLOATING_DEPS[@]} > 0 ]]; then
|
||||||
echo "Floating deps to ${FLOATING_DEPS[@]}"
|
echo "Floating deps to ${FLOATING_DEPS[@]}"
|
||||||
go get -d ${FLOATING_DEPS[@]}
|
go get -d ${FLOATING_DEPS[@]}
|
||||||
|
|
|
@ -109,7 +109,7 @@ function update_clusters() {
|
||||||
# Run the perf-tests tool
|
# Run the perf-tests tool
|
||||||
# Parameters: $1..$n - parameters passed to the tool
|
# Parameters: $1..$n - parameters passed to the tool
|
||||||
function run_perf_cluster_tool() {
|
function run_perf_cluster_tool() {
|
||||||
go run "${REPO_ROOT_DIR}"/vendor/knative.dev/pkg/testutils/clustermanager/perf-tests $@
|
perf-tests $@
|
||||||
}
|
}
|
||||||
|
|
||||||
# Delete the old clusters belonged to the current repo, and recreate them with the same configuration.
|
# Delete the old clusters belonged to the current repo, and recreate them with the same configuration.
|
||||||
|
|
|
@ -265,10 +265,10 @@ gopkg.in/go-playground/webhooks.v3/github
|
||||||
# gopkg.in/yaml.v2 v2.3.0
|
# gopkg.in/yaml.v2 v2.3.0
|
||||||
## explicit
|
## explicit
|
||||||
gopkg.in/yaml.v2
|
gopkg.in/yaml.v2
|
||||||
# knative.dev/hack v0.0.0-20201028205534-fe80f1c8af68
|
# knative.dev/hack v0.0.0-20201103151104-3d5abc3a0075
|
||||||
## explicit
|
## explicit
|
||||||
knative.dev/hack
|
knative.dev/hack
|
||||||
# knative.dev/net-istio v0.18.1-0.20201029032834-e6aad9b17020
|
# knative.dev/net-istio v0.18.1-0.20201106015007-40b599209108
|
||||||
## explicit
|
## explicit
|
||||||
knative.dev/net-istio/third_party/istio-stable
|
knative.dev/net-istio/third_party/istio-stable
|
||||||
# go.opencensus.io => go.opencensus.io v0.20.2
|
# go.opencensus.io => go.opencensus.io v0.20.2
|
||||||
|
|
Loading…
Reference in New Issue