Enable --remote_download_toplevel for e2e builds
In CI, make use of --remote_download_toplevel, to only download toplevel
targets. This drastically reduces the amount of cache transferes for
small objects, resulting in much less data being transferred and
therefore much faster and less disk intensive builds.
@@ -174,10 +174,8 @@ make cluster-down
# Create .bazelrc to use remote cache
cat >ci.bazelrc <<EOF
-startup --host_jvm_args=-Dbazel.DigestFunction=sha256
-build --remote_local_fallback
-build --remote_http_cache=${BAZEL_CACHE}
build --jobs=4
+build --remote_download_toplevel
EOF
# Build and test images with a custom image name prefix
