From c911daaf3d260023d526ef603a7cc5d0d445561e Mon Sep 17 00:00:00 2001 From: Alex Eagle Date: Fri, 3 Nov 2023 07:56:52 -0700 Subject: [PATCH] chore: add missing file needed by release automation (#191) In https://github.com/bazel-contrib/.github/blob/master/.github/workflows/release_ruleset.yaml#L42 we assume this file will exist in the repo --- .github/workflows/ci.bazelrc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/ci.bazelrc diff --git a/.github/workflows/ci.bazelrc b/.github/workflows/ci.bazelrc new file mode 100644 index 0000000..3b4aad2 --- /dev/null +++ b/.github/workflows/ci.bazelrc @@ -0,0 +1,15 @@ +# This file contains Bazel settings to apply on CI only. +# It is referenced with a --bazelrc option in the call to bazel in ci.yaml + +# Debug where options came from +build --announce_rc +# This directory is configured in GitHub actions to be persisted between runs. +# We do not enable the repository cache to cache downloaded external artifacts +# as these are generally faster to download again than to fetch them from the +# GitHub actions cache. +build --disk_cache=~/.cache/bazel +# Don't rely on test logs being easily accessible from the test runner, +# though it makes the log noisier. +test --test_output=errors +# Allows tests to run bazelisk-in-bazel, since this is the cache folder used +test --test_env=XDG_CACHE_HOME