Skip to content

Commit

Permalink
chore(deps): update dependency aspect_bazel_lib to v1.28.0 (#1590)
Browse files Browse the repository at this point in the history
[![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

<details>
<summary>aspect-build/bazel-lib</summary>

###
[`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: <https://blog.aspect.dev/bzlmod>

#### Using WORKSPACE

Paste this snippet into your  file:

```starlark
load("@&#8203;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("@&#8203;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("@&#8203;aspect_bazel_lib//lib:repositories.bzl", "register_jq_toolchains")

register_jq_toolchains()

### Register the following toolchain to use yq

load("@&#8203;aspect_bazel_lib//lib:repositories.bzl", "register_yq_toolchains")

register_yq_toolchains()
```

#### What's Changed

- docs: include from-HEAD install by
[@&#8203;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 [@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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**:
bazel-contrib/bazel-lib@v1.27.2...v1.28.0

</details>

---

### 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.

---

- [ ] <!-- rebase-check -->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).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xNTQuNyIsInVwZGF0ZWRJblZlciI6IjM0LjE1NC43In0=-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Greg Magolan <gmagolan@gmail.com>
GitOrigin-RevId: 9c9cb99873cd03620a7af1722440b134c5105796
  • Loading branch information
renovate[bot] and gregmagolan committed Mar 6, 2023
1 parent 7fb1157 commit cf84aaa
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
3 changes: 1 addition & 2 deletions docs/bazelrc/convenience.bazelrc
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -26,4 +25,4 @@ common --enable_platform_specific_config
# 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
build --heap_dump_on_oom
common --heap_dump_on_oom
1 change: 0 additions & 1 deletion docs/bazelrc/correctness.bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
2 changes: 0 additions & 2 deletions docs/bazelrc/performance.bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cf84aaa

Please sign in to comment.