From afb660b595d104ca99ef28e534ed8963b8076c7c Mon Sep 17 00:00:00 2001 From: Paulo Castello da Costa <6579971+paulosjca@users.noreply.github.com> Date: Mon, 23 Aug 2021 06:58:11 -0700 Subject: [PATCH] Use get to update go version in kokoro runner. (#27088) Installed version is old and does not support install for this purpose. --- tools/internal_ci/linux/grpc_e2e_performance_gke.sh | 2 +- tools/internal_ci/linux/grpc_e2e_performance_v2.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/internal_ci/linux/grpc_e2e_performance_gke.sh b/tools/internal_ci/linux/grpc_e2e_performance_gke.sh index 8bdc5457009..0d7333ce8c3 100755 --- a/tools/internal_ci/linux/grpc_e2e_performance_gke.sh +++ b/tools/internal_ci/linux/grpc_e2e_performance_gke.sh @@ -55,7 +55,7 @@ WORKER_POOL_32CORE=workers-32core-ci # Update go version. TEST_INFRA_GOVERSION=go1.17 -go install "golang.org/dl/${TEST_INFRA_GOVERSION}@latest" +go get "golang.org/dl/${TEST_INFRA_GOVERSION}" "${TEST_INFRA_GOVERSION}" download # Clone test-infra repository to one upper level directory than grpc. diff --git a/tools/internal_ci/linux/grpc_e2e_performance_v2.sh b/tools/internal_ci/linux/grpc_e2e_performance_v2.sh index 9262bfef2b4..635dd2f6862 100755 --- a/tools/internal_ci/linux/grpc_e2e_performance_v2.sh +++ b/tools/internal_ci/linux/grpc_e2e_performance_v2.sh @@ -56,7 +56,7 @@ WORKER_POOL_32CORE=workers-32core-ci # Update go version. TEST_INFRA_GOVERSION=go1.17 -go install "golang.org/dl/${TEST_INFRA_GOVERSION}@latest" +go get "golang.org/dl/${TEST_INFRA_GOVERSION}" "${TEST_INFRA_GOVERSION}" download # Clone test-infra repository to one upper level directory than grpc.