mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 04:06:03 +00:00
Merge pull request #40231 from spxtr/bazelrc
Automatic merge from submit-queue (batch tested with PRs 40187, 40231, 40152) Add .bazelrc with flaky_test_attempts. **What this PR does / why we need it**: This PR adds `.bazelrc`, which will set defaults for all bazel commands. The only controversial default I set is `--flaky_test_attempts=3`. **Release note**: ```release-note NONE ```
This commit is contained in:
commit
5e272d6a0c
6
.bazelrc
Normal file
6
.bazelrc
Normal file
@ -0,0 +1,6 @@
|
||||
# Show us information about failures.
|
||||
build --verbose_failures
|
||||
test --test_output=errors
|
||||
|
||||
# Retry tests up to 3 times if they fail.
|
||||
test --flaky_test_attempts=3
|
2
Makefile
2
Makefile
@ -498,7 +498,7 @@ endef
|
||||
@echo "$$BAZEL_TEST_HELP_INFO"
|
||||
else
|
||||
bazel-test:
|
||||
bazel test --test_output=errors //cmd/... //pkg/... //federation/... //plugin/... //build/... //third_party/... //hack/... //hack:verify-all
|
||||
bazel test //cmd/... //pkg/... //federation/... //plugin/... //build/... //third_party/... //hack/... //hack:verify-all
|
||||
endif
|
||||
|
||||
ifeq ($(PRINT_HELP),y)
|
||||
|
Loading…
Reference in New Issue
Block a user