We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e5f996 commit 393d5a9Copy full SHA for 393d5a9
1 file changed
ci/kokoro/macos/build.sh
@@ -81,10 +81,13 @@ printf "%10s %s\n" "brew:" "$(brew --version 2>&1 | head -1)"
81
printf "%10s %s\n" "branch:" "${BRANCH}"
82
83
io::log_h2 "Brew packages"
84
+export HOMEBREW_CURL_RETRIES=3
85
export HOMEBREW_NO_AUTO_UPDATE=1
86
export HOMEBREW_NO_INSTALL_CLEANUP=1
-brew list --versions --formula
87
-brew list --versions --cask
+brew list --versions --formula || io::log_yellow \
88
+ "brew list --formula failed. Trusting Homebrew's fallback and continuing."
89
+brew list --versions --cask || io::log_yellow \
90
+ "brew list --cask failed. Trusting Homebrew's fallback and continuing."
91
brew list --versions coreutils || brew install coreutils
92
if [[ "${RUNNING_CI:-}" = "yes" ]]; then
93
# We use `gcloud alpha storage` as it significantly improves the
0 commit comments