From ead79e794d9df88eb4d12bdf0040d23ad8105dc6 Mon Sep 17 00:00:00 2001 From: Esun Kim Date: Tue, 1 Dec 2020 10:17:12 -0800 Subject: [PATCH] Update prepare_build_macos_rc --- tools/internal_ci/helper_scripts/prepare_build_macos_rc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tools/internal_ci/helper_scripts/prepare_build_macos_rc b/tools/internal_ci/helper_scripts/prepare_build_macos_rc index 58d24dff91a..5e5a83f0bb3 100644 --- a/tools/internal_ci/helper_scripts/prepare_build_macos_rc +++ b/tools/internal_ci/helper_scripts/prepare_build_macos_rc @@ -26,8 +26,14 @@ ulimit -a # - only add stuff that you absolutely need for your builds to work (add comment to explain why its needed) # Disable HOMEBREW update to avoid new updates which potentially have problems. +# Brew packages installed when Kokoro image was built tend to have less conflict. export HOMEBREW_NO_AUTO_UPDATE=1 +# Dump the brew configuration for debugging just in case. Check "Core tap HEAD" field +# because it should be the same as below unless it's been updated. +# - Kokoro MacOS Mojave: 27fa87c94a6cf7be40fc8f8fc96bc7c387b7781e +brew config + # Add GCP credentials for BQ access pip install --user google-api-python-client oauth2client six==1.15.0 export GOOGLE_APPLICATION_CREDENTIALS=${KOKORO_GFILE_DIR}/GrpcTesting-d0eeee2db331.json