From cf84aaa2077712c17c63fcdb7448b412463c7858 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 5 Mar 2023 23:37:05 +0000
Subject: [PATCH] chore(deps): update dependency aspect_bazel_lib to v1.28.0
(#1590)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [aspect_bazel_lib](https://togithub.com/aspect-build/bazel-lib) |
http_archive | minor | `v1.27.2` -> `v1.28.0` |
---
### ⚠ Dependency Lookup Warnings ⚠
Warnings were logged while processing this repo. Please check the
Dependency Dashboard for more information.
---
### Release Notes
aspect-build/bazel-lib
###
[`v1.28.0`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.28.0)
[Compare
Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.27.2...v1.28.0)
#### Using Bzlmod with Bazel 6:
1. Enable with `common --enable_bzlmod` in `.bazelrc`.
2. Add to your `MODULE.bazel` file:
```starlark
bazel_dep(name = "aspect_bazel_lib", version = "1.28.0")
```
> Read more about bzlmod:
#### Using WORKSPACE
Paste this snippet into your file:
```starlark
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "2518c757715d4f5fc7cc7e0a68742dd1155eaafc78fb9196b8a18e13a738cea2",
strip_prefix = "bazel-lib-1.28.0",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.28.0/bazel-lib-v1.28.0.tar.gz",
)
load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies")
aspect_bazel_lib_dependencies()
```
Optional toolchains:
```starlark
### Register the following toolchain to use jq
load("@aspect_bazel_lib//lib:repositories.bzl", "register_jq_toolchains")
register_jq_toolchains()
### Register the following toolchain to use yq
load("@aspect_bazel_lib//lib:repositories.bzl", "register_yq_toolchains")
register_yq_toolchains()
```
#### What's Changed
- docs: include from-HEAD install by
[@alexeagle](https://togithub.com/alexeagle) in
[https://github.com/aspect-build/bazel-lib/pull/382](https://togithub.com/aspect-build/bazel-lib/pull/382)
- Presets cleanup by [@kormide](https://togithub.com/kormide) in
[https://github.com/aspect-build/bazel-lib/pull/384](https://togithub.com/aspect-build/bazel-lib/pull/384)
- chore: set --heap_dump_on_oom preset to apply to all commands by
[@kormide](https://togithub.com/kormide) in
[https://github.com/aspect-build/bazel-lib/pull/385](https://togithub.com/aspect-build/bazel-lib/pull/385)
- feat: add consistent_label_str utility to generate consistent label
strings for all Bazel versions by
[@gregmagolan](https://togithub.com/gregmagolan) in
[https://github.com/aspect-build/bazel-lib/pull/386](https://togithub.com/aspect-build/bazel-lib/pull/386)
- chore: update to Aspect CLI 5.2.0-rc0 by
[@gregmagolan](https://togithub.com/gregmagolan) in
[https://github.com/aspect-build/bazel-lib/pull/387](https://togithub.com/aspect-build/bazel-lib/pull/387)
**Full Changelog**:
https://github.com/aspect-build/bazel-lib/compare/v1.27.2...v1.28.0
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/aspect-build/silo).
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Greg Magolan
GitOrigin-RevId: 9c9cb99873cd03620a7af1722440b134c5105796
---
docs/bazelrc/convenience.bazelrc | 3 +--
docs/bazelrc/correctness.bazelrc | 1 -
docs/bazelrc/performance.bazelrc | 2 --
3 files changed, 1 insertion(+), 5 deletions(-)
diff --git a/docs/bazelrc/convenience.bazelrc b/docs/bazelrc/convenience.bazelrc
index 3122d3273..c674569ff 100644
--- a/docs/bazelrc/convenience.bazelrc
+++ b/docs/bazelrc/convenience.bazelrc
@@ -1,7 +1,6 @@
# Attempt to build & test every target whose prerequisites were successfully built.
# Docs: https://bazel.build/docs/user-manual#keep-going
build --keep_going
-test --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
@@ -26,4 +25,4 @@ common --enable_platform_specific_config
# The dump will be written to `/.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
-build --heap_dump_on_oom
+common --heap_dump_on_oom
diff --git a/docs/bazelrc/correctness.bazelrc b/docs/bazelrc/correctness.bazelrc
index d9ef2e5bc..56fad5fd5 100644
--- a/docs/bazelrc/correctness.bazelrc
+++ b/docs/bazelrc/correctness.bazelrc
@@ -11,7 +11,6 @@ build --noremote_upload_local_results
# Developers should tag targets with `tags=["requires-network"]` to opt-out of the enforcement.
# Docs: https://bazel.build/reference/command-line-reference#flag--sandbox_default_allow_network
build --sandbox_default_allow_network=false
-test --sandbox_default_allow_network=false
# Warn if a test's timeout is significantly longer than the test's actual execution time.
# Bazel's default for test_timeout is medium (5 min), but most tests should instead be short (1 min).
diff --git a/docs/bazelrc/performance.bazelrc b/docs/bazelrc/performance.bazelrc
index bc11a3f43..9b9903abb 100644
--- a/docs/bazelrc/performance.bazelrc
+++ b/docs/bazelrc/performance.bazelrc
@@ -41,8 +41,6 @@ build --experimental_reuse_sandbox_directories
# author.
# Docs: https://bazel.build/reference/command-line-reference#flag--legacy_external_runfiles
build --nolegacy_external_runfiles
-run --nolegacy_external_runfiles
-test --nolegacy_external_runfiles
# Some actions are always IO-intensive but require little compute. It's wasteful to put the output
# in the remote cache, it just saturates the network and fills the cache storage causing earlier