Use the new remote cache on the data server
This points to data-fast so we can move it around however at a future
time easily with DNS magic. This is a 10 Gbps link to a bazel-remote
instance running a gRPC cache. This should cache lockless queue test
once and for all.
Change-Id: Iaee7b2471d7eed668ffd83d379f9f154658b4b24
Signed-off-by: Austin Schuh <austin.linux@gmail.com>
diff --git a/scouting/BUILD b/scouting/BUILD
index c98c741..d6c09b2 100644
--- a/scouting/BUILD
+++ b/scouting/BUILD
@@ -10,6 +10,9 @@
"//scouting/webserver",
"//scouting/www:static_files",
],
+ tags = [
+ "no-remote-cache",
+ ],
visibility = ["//visibility:public"],
deps = [
"@bazel_tools//tools/bash/runfiles",
@@ -23,6 +26,9 @@
"//scouting/testing:scouting_test_servers",
],
runner = "scouting_test_runner.js",
+ tags = [
+ "no-remote-cache",
+ ],
)
apache_wrapper(
diff --git a/scouting/www/BUILD b/scouting/www/BUILD
index 4c2f931..6743736 100644
--- a/scouting/www/BUILD
+++ b/scouting/www/BUILD
@@ -13,6 +13,9 @@
html_assets = [
"favicon.ico",
],
+ tags = [
+ "no-remote-cache",
+ ],
deps = [
"//:node_modules/@angular/animations",
"//scouting/www/driver_ranking",
@@ -35,6 +38,9 @@
"dev": "",
"third_party/y2023": "pictures",
},
+ tags = [
+ "no-remote-cache",
+ ],
visibility = ["//visibility:public"],
)
diff --git a/tools/build_rules/js.bzl b/tools/build_rules/js.bzl
index eb95510..55f440b 100644
--- a/tools/build_rules/js.bzl
+++ b/tools/build_rules/js.bzl
@@ -102,6 +102,9 @@
name = "_app",
srcs = srcs,
deps = deps + APPLICATION_DEPS,
+ tags = [
+ "no-remote-cache",
+ ],
visibility = ["//visibility:private"],
)
@@ -110,6 +113,9 @@
name = "_polyfills",
srcs = ["polyfills.ts"],
deps = ["//:node_modules/zone.js"],
+ tags = [
+ "no-remote-cache",
+ ],
visibility = ["//visibility:private"],
)
esbuild(
@@ -123,6 +129,9 @@
metafile = False,
format = "esm",
minify = True,
+ tags = [
+ "no-remote-cache",
+ ],
visibility = ["//visibility:private"],
)
@@ -200,6 +209,9 @@
["--scripts", "--module", "%s/main.js" % bundle],
# The input HTML template, all assets for potential access for stamping
srcs = [":index.html", ":%s" % bundle, ":polyfills-bundle"] + html_assets,
+ tags = [
+ "no-remote-cache",
+ ],
visibility = ["//visibility:private"],
)
@@ -304,6 +316,9 @@
terser_minified(
name = name + "__min",
srcs = [name + ".js"],
+ tags = [
+ "no-remote-cache",
+ ],
sourcemap = False,
)
diff --git a/tools/ci/buildkite.yaml b/tools/ci/buildkite.yaml
index ff9fe4a..67a9a69 100644
--- a/tools/ci/buildkite.yaml
+++ b/tools/ci/buildkite.yaml
@@ -1,6 +1,6 @@
env:
STARTUP: --max_idle_secs=0
- COMMON: -c opt --stamp=no --curses=yes --symlink_prefix=/ --disk_cache=~/.cache/bazel/disk_cache/ --repo_env=FRC971_RUNNING_IN_CI=1
+ COMMON: -c opt --stamp=no --curses=yes --symlink_prefix=/ --remote_cache=grpc://data-fast:9092 --repo_env=FRC971_RUNNING_IN_CI=1
TARGETS: //... @com_github_google_glog//... @com_google_ceres_solver//... @com_github_rawrtc_rawrtc//... @com_google_googletest//...
M4F_TARGETS: //...
RP2040_TARGETS: //...