From 20505bd644b11de1f939a4bae15f4ddbd19e844f Mon Sep 17 00:00:00 2001 From: Pranav Sharma Date: Wed, 14 Dec 2022 18:57:46 -0500 Subject: [PATCH] fix: git safe directory issue in buildscript (#7164) --- profiler/kokoro/integration_test.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/profiler/kokoro/integration_test.sh b/profiler/kokoro/integration_test.sh index d68a5258cb2..3f65fed5a20 100755 --- a/profiler/kokoro/integration_test.sh +++ b/profiler/kokoro/integration_test.sh @@ -30,6 +30,8 @@ set -x cd $(dirname $0)/.. +git config --global --add safe.directory /tmpfs/src/github/google-cloud-go + export GOOGLE_APPLICATION_CREDENTIALS="${KOKORO_KEYSTORE_DIR}/72935_cloud-profiler-e2e-service-account-key" export GCLOUD_TESTS_GOLANG_PROJECT_ID="cloud-profiler-e2e"