We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1df6a95 commit b0c0dabCopy full SHA for b0c0dab
1 file changed
.kokoro/build.sh
@@ -4,9 +4,11 @@ set -e
4
5
cd ${KOKORO_ARTIFACTS_DIR}/github/googleapis
6
cp .kokoro/.bazelrc $HOME/.bazelrc
7
+CACHE_BUCKET=client-libraries-bazel-cache-github
8
+CACHE_CMDLINE="--remote_cache=https://storage.googleapis.com/${CACHE_BUCKET} --google_default_credentials"
9
10
#
11
# Run build and tests
12
-${BAZELISK_BIN} --output_user_root=${BAZEL_ROOT} build --keep_going //...
-${BAZELISK_BIN} --output_user_root=${BAZEL_ROOT} test --flaky_test_attempts=3 --keep_going //...
13
+${BAZELISK_BIN} --output_user_root=${BAZEL_ROOT} build ${CACHE_CMDLINE} --keep_going //...
14
+${BAZELISK_BIN} --output_user_root=${BAZEL_ROOT} test ${CACHE_CMDLINE} --flaky_test_attempts=3 --keep_going //...
0 commit comments