diff --git a/.bazelrc b/.bazelrc index 33c29b363f74..626fe7334830 100644 --- a/.bazelrc +++ b/.bazelrc @@ -41,6 +41,9 @@ common:macos --remote_local_fallback_strategy=sandboxed # Windows config ------------------------------------------------------------------------------------------------------- common:windows --strategy=standalone # Valid values are: [dynamic_worker, standalone, dynamic, remote, worker, local] +# rules_python 1.9.0 transitions enable_runfiles to `true` for every py_ target on Windows. Pre-setting it here makes +# that transition a no-op, so Bazel deduplicates python_win and avoids 2 concurrent MSBuild racing on shared resources. +common:windows --enable_runfiles # Neither repo_env nor shell_executable affect action keys. It can be both an advantage and a disadvantage. # For instance, if we need to have some special behavior in bash we can add it, however, in some cases # it may lead to cache poisoning. diff --git a/.gitlab/build/bazel/test.yml b/.gitlab/build/bazel/test.yml index 14377fcec3d0..f148eb4ccd33 100644 --- a/.gitlab/build/bazel/test.yml +++ b/.gitlab/build/bazel/test.yml @@ -26,5 +26,19 @@ bazel:test:macos-arm64: bazel:test:windows-amd64: extends: [ .bazel:test, .bazel:runner:windows-amd64 ] variables: - POWERSHELL_SCRIPT: |- - bazel test //bazel/tests/... //rtloader/... + POWERSHELL_SCRIPT: >- + bazel test //... -- + -//bazel/rules/dd_packaging/... + -//internal/tools/modparser:modparser_test + -//internal/tools/worksynchronizer:worksynchronizer_test + -//packages/agent/linux/... + -//pkg/collector/corechecks/ebpf/probe/... + -//pkg/dyninst/loader/... + -//pkg/dyninst/output/... + -//pkg/ebpf/... + -//pkg/gpu/ebpf/... + -//pkg/network/... + -//pkg/networkdevice/profile/profiledefinition/schema:schema_test + -//pkg/template/... + +# //pkg/template:generate_N_test: TODO(regis) .gopatch files seem to be altered by .gitattributes diff --git a/MODULE.bazel b/MODULE.bazel index 7218d017aaa8..0dcf954ba076 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -224,7 +224,7 @@ register_toolchains( visual_studio( name = "visual_studio", path_variable = "VSTUDIO_ROOT", - version = "17.14.36717.8", + version = "17.14.36717.8", # 18.4.11612.150 ) # =========================================