1+ import .bazelrc.remote
12try-import .bazelrc.local
23try-import .bazelrc.windows.local
34
@@ -69,6 +70,7 @@ test --test_env=MOZ_HEADLESS
6970test --test_env=SELENIUM_BROWSER
7071test --test_env=TRAVIS
7172test --test_env=PYTHON_VERSION
73+ test --test_env=SE_AVOID_STATS=true
7274
7375# Remove once rules_ruby support proper $LOAD_PATH expansion.
7476
@@ -80,11 +82,6 @@ test --test_env=RUBYOPT="-Irb/lib -w"
8082build --action_env=JRUBY_OPTS="--dev"
8183test --test_env=JRUBY_OPTS="--dev"
8284
83- # JRuby/TruffleRuby: https://github.com/jruby/jruby/issues/5661
84-
85- #build --action_env=HOME
86- #test --test_env=HOME
87-
8885# Expose necessary variables for Selenium-Manager.
8986
9087test:windows --test_env=LOCALAPPDATA
@@ -96,77 +93,6 @@ test --test_timeout=1800
9693test:node_debug --test_output=streamed --test_strategy=exclusive --test_timeout=9999 --nocache_test_results
9794test:ruby_debug --test_output=streamed --test_env=RUBY_DEBUG_FORK_MODE=parent --run_under="@bundle//bin:rdbg --nonstop --open --command"
9895
99- # The RBE to use
100- build:remote --bes_results_url=https://gypsum.cluster.engflow.com/invocation
101- build:remote --bes_backend=grpcs://gypsum.cluster.engflow.com
102- build:remote --remote_executor=grpcs://gypsum.cluster.engflow.com
103- build:remote --remote_cache=grpcs://gypsum.cluster.engflow.com
104-
105- # The number of cores available
106- build:remote -j 50
107-
108- # Build Without The Bytes
109- build:remote --remote_download_minimal
110-
111- build:remote --define=EXECUTOR=remote
112- build:remote --experimental_inmemory_dotd_files
113- build:remote --experimental_inmemory_jdeps_files
114- build:remote --remote_timeout=3600
115- build:remote --spawn_strategy=remote,local
116- #build:remote --nolegacy_important_outputs
117- build:remote --incompatible_strict_action_env=true
118-
119- build:remote --crosstool_top=//common/remote-build/cc:toolchain
120- build:remote --extra_execution_platforms=//common/remote-build:platform
121- build:remote --extra_toolchains=//common/remote-build:cc-toolchain
122- build:remote --host_platform=//common/remote-build:platform
123- build:remote --platforms=//common/remote-build:platform
124-
125- # The Docker images are running Linux
126- build:remote --cpu=k8
127- build:remote --host_cpu=k8
128-
129- build:remote --disk_cache=
130-
131- build:remote --incompatible_enable_cc_toolchain_resolution
132- build:remote --action_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1
133- test:remote --test_env=DISPLAY=:99.0
134- test:remote --test_tag_filters=-skip-remote,-remote
135-
136- # Env vars we can hard code
137- build:remote --action_env=HOME=/home/dev
138- build:remote --action_env=PATH=/bin:/usr/bin:/usr/local/bin
139- test:remote --test_env=PATH=/bin:/usr/bin:/usr/local/bin
140- test:remote --test_env=HOME=/home/dev
141- test --test_env=SE_AVOID_STATS=true
142-
143- # Make sure we sniff credentials properly
144- build:remote --credential_helper=%workspace%/scripts/credential-helper.sh
145-
146- # Use pinned browsers when running remotely
147- build:remote --//common:pin_browsers
148-
149- # The remote build machines are pretty small, and 50 threads may leave them
150- # thrashing, but our dev machines are a lot larger. Scale the workload so we
151- # make reasonable usage of everything, everywhere, all at once.
152- build:remote --local_resources=cpu='HOST_CPUS*10'
153- build:remote --local_resources=memory='HOST_RAM*4.0'
154-
155- # A small hint that we're running our tests remotely
156- test:remote --test_env=REMOTE_BUILD=1
157-
158- # Wait for up to 5 minutes for a test to pass
159- test:remote --test_timeout=600
160-
161- # Extend the remote config for CI
162- build:remote-ci --config=remote
163- build:remote-ci --curses=no --color=yes --show_timestamps --show_progress_rate_limit=5
164- build:remote-ci --bes_upload_mode=wait_for_upload_complete
165-
166- # Configuration changes suggested by EngFlow
167- build:remote --grpc_keepalive_time=30s
168- build:remote --nolegacy_important_outputs
169-
17096build:release --config=remote
17197build:release --stamp
17298build:release --remote_download_outputs=toplevel
0 commit comments