-
Notifications
You must be signed in to change notification settings - Fork 135
Expand file tree
/
Copy path.bazelrc
More file actions
62 lines (51 loc) · 2.29 KB
/
.bazelrc
File metadata and controls
62 lines (51 loc) · 2.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
###################################
# BUILDBUDDY SHARED BAZEL CONFIGS #
###################################
#
# Prefer adding flags to the shared file over the current file
# so that we can have a consistent set of flags across all repos.
#
# Only add to this file if the flags are intended for our public
# repo _exclusively_.
#
import %workspace%/shared.bazelrc
#################################
# PUBLIC REPO EXCLUSIVE CONFIGS #
#################################
# By default, build logs get sent to the production server
#
# Note: Use remote.buildbuddy.io and NOT buildbuddy.buildbuddy.io
# so OSS / anonymous users can still send events to our server.
common --config=anon-bes
# Don't run Docker and Firecracker tests by default, because they cannot be run on all environments
# Firecracker tests can only be run on Linux machines with bare execution, and we want to avoid a hard dependency
# on Docker for development
#
# Exclude tests which require BuildBuddy Secrets from the default unauthenticated builds
# These often require "include-secrets: true" exec property in their BUILD file.
#
# Don't run benchmarks by default; benchmarks should only run if we are
# explicitly doing performance testing.
common --test_tag_filters=-docker,-bare,-secrets,-performance
# CI invocations from public repo should be publicly accessible.
common:ci-shared --build_metadata=VISIBILITY=PUBLIC
# Configuration used for GitHub actions-based CI
common:ci --config=ci-shared
common:ci --config=remote-minimal
common:ci --remote_instance_name=buildbuddy-io/buildbuddy/ci
# Configuration used for GitHub actions-based CI for anonymous users (e.g. external contributors)
common:ci-anon --config=ci
common:ci-anon --bes_backend=remote.buildbuddy.io
common:ci-anon --remote_downloader=remote.buildbuddy.io
common:ci-anon --remote_cache=remote.buildbuddy.io
common:ci-anon --remote_executor=remote.buildbuddy.io
# Configuration used for all BuildBuddy workflows
common:workflows --config=ci-shared
common:workflows --remote_instance_name=buildbuddy-io/buildbuddy/workflows
########################
# USER DEFINED CONFIGS #
########################
# Try importing a user specific .bazelrc
# You can create your own by copying and editing the template-user.bazelrc template:
# cp template-user.bazelrc user.bazelrc
try-import %workspace%/user.bazelrc