chore: remove bazel5 presets (#614)
This commit is contained in:
parent
16e63aad94
commit
5077d5ae4a
|
@ -1,5 +0,0 @@
|
|||
# Performance improvement for WORKSPACE evaluation
|
||||
# of slow rulesets, for example rules_k8s has been
|
||||
# observed to take 10 seconds without this flag.
|
||||
# See https://github.com/bazelbuild/bazel/issues/13907
|
||||
common --incompatible_existing_rules_immutable_view
|
|
@ -27,7 +27,7 @@ See https://docs.aspect.build/guides/bazelrc for more info.
|
|||
| Name | Description | Default Value |
|
||||
| :------------- | :------------- | :------------- |
|
||||
| <a id="write_aspect_bazelrc_presets-name"></a>name | a unique name for this target | none |
|
||||
| <a id="write_aspect_bazelrc_presets-presets"></a>presets | a list of preset names to keep up-to-date<br><br>For example,<br><br><pre><code> write_aspect_bazelrc_presets( name = "update_aspect_bazelrc_presets", presets = [ "bazel6", "ci", "convenience", "correctness", "debug", "javascript", "performance", ], ) </code></pre> | <code>["bazel5", "bazel6", "ci", "convenience", "correctness", "debug", "javascript", "performance"]</code> |
|
||||
| <a id="write_aspect_bazelrc_presets-presets"></a>presets | a list of preset names to keep up-to-date<br><br>For example,<br><br><pre><code> write_aspect_bazelrc_presets( name = "update_aspect_bazelrc_presets", presets = [ "bazel6", "ci", "convenience", "correctness", "debug", "javascript", "performance", ], ) </code></pre> | <code>["bazel6", "ci", "convenience", "correctness", "debug", "javascript", "performance"]</code> |
|
||||
| <a id="write_aspect_bazelrc_presets-kwargs"></a>kwargs | Additional arguments to pass to <code>write_source_files</code> | none |
|
||||
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
load("@aspect_bazel_lib//lib:write_source_files.bzl", "write_source_files")
|
||||
|
||||
ALL_PRESETS = [
|
||||
"bazel5",
|
||||
"bazel6",
|
||||
"ci",
|
||||
"convenience",
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
# Performance improvement for WORKSPACE evaluation
|
||||
# of slow rulesets, for example rules_k8s has been
|
||||
# observed to take 10 seconds without this flag.
|
||||
# See https://github.com/bazelbuild/bazel/issues/13907
|
||||
common --incompatible_existing_rules_immutable_view
|
|
@ -4,7 +4,7 @@ write_aspect_bazelrc_presets(
|
|||
name = "update_aspect_bazelrc_presets",
|
||||
presets = [
|
||||
# Just pick a few to test the `presets` attribute
|
||||
"bazel5",
|
||||
"convenience",
|
||||
"javascript",
|
||||
],
|
||||
)
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
# Performance improvement for WORKSPACE evaluation
|
||||
# of slow rulesets, for example rules_k8s has been
|
||||
# observed to take 10 seconds without this flag.
|
||||
# See https://github.com/bazelbuild/bazel/issues/13907
|
||||
common --incompatible_existing_rules_immutable_view
|
|
@ -0,0 +1,28 @@
|
|||
# Attempt to build & test every target whose prerequisites were successfully built.
|
||||
# Docs: https://bazel.build/docs/user-manual#keep-going
|
||||
build --keep_going
|
||||
|
||||
# Output test errors to stderr so users don't have to `cat` or open test failure log files when test
|
||||
# fail. This makes the log noiser in exchange for reducing the time-to-feedback on test failures for
|
||||
# users.
|
||||
# Docs: https://bazel.build/docs/user-manual#test-output
|
||||
test --test_output=errors
|
||||
|
||||
# Show the output files created by builds that requested more than one target. This helps users
|
||||
# locate the build outputs in more cases
|
||||
# Docs: https://bazel.build/docs/user-manual#show-result
|
||||
build --show_result=20
|
||||
|
||||
# Bazel picks up host-OS-specific config lines from bazelrc files. For example, if the host OS is
|
||||
# Linux and you run bazel build, Bazel picks up lines starting with build:linux. Supported OS
|
||||
# identifiers are `linux`, `macos`, `windows`, `freebsd`, and `openbsd`. Enabling this flag is
|
||||
# equivalent to using `--config=linux` on Linux, `--config=windows` on Windows, etc.
|
||||
# Docs: https://bazel.build/reference/command-line-reference#flag--enable_platform_specific_config
|
||||
common --enable_platform_specific_config
|
||||
|
||||
# Output a heap dump if an OOM is thrown during a Bazel invocation
|
||||
# (including OOMs due to `--experimental_oom_more_eagerly_threshold`).
|
||||
# The dump will be written to `<output_base>/<invocation_id>.heapdump.hprof`.
|
||||
# You may need to configure CI to capture this artifact and upload for later use.
|
||||
# Docs: https://bazel.build/reference/command-line-reference#flag--heap_dump_on_oom
|
||||
common --heap_dump_on_oom
|
Loading…
Reference in New Issue