forked from pixie-io/pixie
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbazelrc
More file actions
47 lines (37 loc) · 1.24 KB
/
bazelrc
File metadata and controls
47 lines (37 loc) · 1.24 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
common --color=yes
# Keep the build going even with failures.
# This makes it easier to find multiple issues in
# a given run.
common --keep_going
build --build_metadata=HOST=github-actions
build --build_metadata=USER=github-actions
build --build_metadata=REPO_URL=https://github.com/pixie-io/pixie
build --build_metadata=VISIBILITY=PUBLIC
build --verbose_failures
test --verbose_failures
# BES/Cache Setup
build --bes_timeout=10m
build --experimental_inmemory_dotd_files
build --experimental_inmemory_jdeps_files
build --keep_backend_build_event_connections_alive=false
build --remote_max_connections=128
build --remote_retries=2
build --remote_timeout=1h
test --bes_timeout=10m
test --experimental_inmemory_dotd_files
test --experimental_inmemory_jdeps_files
test --remote_max_connections=128
test --remote_retries=2
# Limit resources, this is needed to stay under the K8s resource allocations.
build --local_ram_resources=40000
test --local_ram_resources=40000
# We have 14 CPUs allocated.
build --local_cpu_resources=14
test --local_cpu_resources=14
build --jobs 16
test --jobs 16
# For qemu, we allocate 46 cpus instead of 16.
build:qemu-bpf --local_cpu_resources=46
test:qemu-bpf --local_cpu_resources=46
build:qemu-bpf --jobs=48
test:qemu-bpf --jobs=48