From ae5130da08c94cf4ca8c83c87256325233c9f024 Mon Sep 17 00:00:00 2001
From: Adele Zhou <adelez@google.com>
Date: Thu, 20 Jul 2017 16:31:11 -0700
Subject: [PATCH] Download the json file

---
 tools/internal_ci/helper_scripts/prepare_build_interop_rc | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tools/internal_ci/helper_scripts/prepare_build_interop_rc b/tools/internal_ci/helper_scripts/prepare_build_interop_rc
index cc956b8075..859ce621f9 100644
--- a/tools/internal_ci/helper_scripts/prepare_build_interop_rc
+++ b/tools/internal_ci/helper_scripts/prepare_build_interop_rc
@@ -26,3 +26,8 @@ git submodule update --init
 # Set up gRPC-Go and gRPC-Java to test
 git clone --recursive https://github.com/grpc/grpc-go ./../grpc-go
 git clone --recursive https://github.com/grpc/grpc-java ./../grpc-java
+
+# Download json file.
+mkdir ~/service_account
+gsutil cp gs://grpc-testing-secrets/interop/service_account/GrpcTesting-726eb1347f15.json ~/service_account
+export GOOGLE_APPLICATION_CREDENTIALS=~/service_account/GrpcTesting-726eb1347f15.json
-- 
GitLab