From 05c3984fea68de4c6c31290e822469143182cac0 Mon Sep 17 00:00:00 2001 From: Nicolas Mattia Date: Fri, 25 Oct 2024 11:41:03 +0200 Subject: [PATCH] wip --- bazel/conf/.bazelrc.build | 4 ++-- bazel/conf/.bazelrc.internal | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bazel/conf/.bazelrc.build b/bazel/conf/.bazelrc.build index 0493d9ab452..4894440e1e4 100644 --- a/bazel/conf/.bazelrc.build +++ b/bazel/conf/.bazelrc.build @@ -65,7 +65,7 @@ test --test_env=RUST_BACKTRACE=full test:precommit --build_tests_only --test_tag_filters="smoke" -build:systest --build_tag_filters= +build:systest --build_tag_filters="-fuzz_test" run:systest --remote_upload_local_results=true test:systest --remote_upload_local_results=true --test_output=streamed --test_tag_filters= @@ -81,7 +81,7 @@ test --sandbox_tmpfs_path=/tmp # Run all tests once by default, run flaky tests up to 3 times in CI. test --flaky_test_attempts=1 -test:ci --flaky_test_attempts=default +#test:ci --flaky_test_attempts=default # So that developers can build in debug mode. diff --git a/bazel/conf/.bazelrc.internal b/bazel/conf/.bazelrc.internal index fc1cd1aafbe..41ecffb5d03 100644 --- a/bazel/conf/.bazelrc.internal +++ b/bazel/conf/.bazelrc.internal @@ -14,10 +14,10 @@ build:ci --bes_upload_mode=fully_async build:ci --build_event_binary_file=bazel-bep.pb --profile=profile.json # DFINITY internal remote cache setup -build --remote_cache=bazel-remote.idx.dfinity.network +build --remote_cache=grpc://10.107.199.28:9092 build --experimental_remote_cache_async build --experimental_remote_cache_compression # If enabled, compress/decompress cache blobs with zstd. -build --remote_timeout=60s # Default is also 60s but we set it explicitly to remind ourselves of this timeout. +#build --remote_timeout=60s # Default is also 60s but we set it explicitly to remind ourselves of this timeout. build:ci --remote_timeout=5m # Default is 60s. # TODO: re-enable after fixing the error like this: # `Failed to fetch file with hash 'xxx' because it does not exist remotely. --remote_download_outputs=minimal does not work if your remote cache evicts files during builds.` @@ -25,9 +25,9 @@ build:ci --remote_timeout=5m # Default is 60s. #build --remote_download_minimal # https://bazel.build/reference/command-line-reference#flag--remote_download_minimal #build --remote_download_outputs=toplevel # Still download outputs from top level targets. -build --experimental_remote_downloader=bazel-remote.idx.dfinity.network --experimental_remote_downloader_local_fallback +#build --experimental_remote_downloader=10.107.199.28:9092 --experimental_remote_downloader_local_fallback build:local --experimental_remote_downloader= -build --remote_local_fallback +build --remote_local_fallback # TODO what's this build --remote_upload_local_results=false build:ci --remote_upload_local_results=true