aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Eagle <alex@aspect.dev>2023-11-03 07:56:52 -0700
committerGitHub <noreply@github.com>2023-11-03 15:56:52 +0100
commitc911daaf3d260023d526ef603a7cc5d0d445561e (patch)
tree38a6c7330538898f24bfd2d7eab69543e61dc08e
parent3a382963e2c2e92ca6e9b1cc2afdc8105c8da9b0 (diff)
downloadbazelbuild-rules-proto-c911daaf3d260023d526ef603a7cc5d0d445561e.tar.gz
chore: add missing file needed by release automation (#191)upstream/6.0.0-rc0
In https://github.com/bazel-contrib/.github/blob/master/.github/workflows/release_ruleset.yaml#L42 we assume this file will exist in the repo
-rw-r--r--.github/workflows/ci.bazelrc15
1 files changed, 15 insertions, 0 deletions
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