2
0
Fork 0
mirror of https://github.com/bazel-contrib/bazel-lib synced 2024-11-28 21:33:48 +00:00
Commit graph

615 commits

Author SHA1 Message Date
Alex Eagle ce79ef07c0
chore: green up CI (#767) 2024-02-26 16:58:03 -08:00
Jason Bedard 8e5a86f8b8 docs: add bats docs 2024-02-26 15:55:48 -08:00
Greg Magolan aa054522c7
chore: upgrade to Aspect Workflows 5.9.11 (#765) 2024-02-26 13:30:30 -08:00
Tiago Quelhas e514283dd8 Remove unnecessary ctx.resolve_tools.
`ctx.actions.run(executable = ...)` is sufficient to include the runfiles in the action inputs. (More generally, ctx.resolve_tools is discouraged in favor of `ctx.actions.run(tools = ...)`.)
2024-02-25 17:43:38 -08:00
Greg Magolan 6414c883fc
chore: upgrade to Aspect Workflows 5.9.10 (#764) 2024-02-25 12:15:37 -08:00
Alex Eagle 1c98ca9f34
chore: make it possible to override run_binary#use_default_shell_env (#762)
Still not documented as public API. We think this leads to non-hermeticity and could cause cache misses, so it must be used with care.

Part of https://github.com/aspect-build/rules_js/issues/1303
2024-02-21 13:37:47 -08:00
Greg Magolan c1a01d2bdb
chore: upgrade to Aspect Worklfows 5.9.9 (#761) 2024-02-20 19:21:33 -08:00
Alex Eagle 6d3195f05c
presets: remove eternal test_timeout_filtering (#758)
In practice we've disabled this setting at some clients, because there's not a surrounding workflow to find these targets are being silently dropped from CI, nor run them on another schedule.

We can re-introduce something better when we add Test Selection to Aspect Workflows.
2024-02-16 13:56:38 -08:00
Greg Magolan 3f4e188994
chore: update always_delivery to auto_delivery (#753) 2024-02-08 22:37:25 -08:00
Greg Magolan 6dbe2f8ea4
chore: upgrade to Aspect Workflows 5.9.5 (#752) 2024-02-08 20:52:06 -08:00
Alex Eagle 38fecbcbb5
Update tar.bzl (#751)
* Update tar.bzl

Fix header so it's not presented at the same level as the parent (the `tar` macro)

* fix docs
2024-02-08 15:26:05 -08:00
Greg Magolan d859bb3922
chore: upgrade to Aspect Workflows 5.9.4 (#750) 2024-02-07 23:43:24 -08:00
Greg Magolan 71a8052589
fix: merge user tags in stardoc_with_diff_test (#746) 2024-02-05 17:43:58 -08:00
Greg Magolan d07ed55315
chore: cancel previous GHA from the same PR (#745) 2024-02-04 21:47:57 -08:00
Greg Magolan ddb70f88b4
chore: upgrade to Aspect Workflows 5.9.2 (#742) 2024-02-02 12:30:53 -08:00
Greg Magolan 356ea9c266
chore: upgrade to Aspect Workflows 5.9.1 (#741) 2024-02-01 23:03:36 -08:00
renovate[bot] 58ab12b6c6 chore(deps): update dependency bazel_skylib_gazelle_plugin to v1.5.0 2024-02-01 18:29:26 -08:00
Greg Magolan 83bddea030
chore: upgrade to Aspect Workflows 5.9.0 (#740) 2024-01-30 21:08:06 -08:00
renovate[bot] ea8e43d8a4 fix(deps): update golang.org/x/exp digest to 1b97071 2024-01-30 00:19:09 -08:00
renovate[bot] e19315230c chore(deps): update dependency bazel_skylib to v1.5.0 2024-01-30 00:18:44 -08:00
Matt Mackay 59cc7058de
perf: remove unnecessary calls to 'to_list' (#737) 2024-01-29 12:43:32 -05:00
Alex Eagle f0a19f5a7c
Update paths.bzl (#735)
Add a more helpful error when runfiles.bash can't be found.
2024-01-27 12:26:12 -08:00
Alex Eagle 58e3d28602
chore: BCR testing on Bazel 6 and 7 (#736)
Merge https://github.com/bazel-contrib/rules-template/pull/105
2024-01-27 12:06:36 -08:00
renovate[bot] 86b8cfb2e5 chore(deps): update dependency bazel_features to v0.2.0 2024-01-27 01:09:57 -08:00
Greg Magolan bb18a471f3
chore: set correct warming queue (#734) 2024-01-26 10:03:42 -08:00
Greg Magolan 3323d2d2f8
chore: upgrade to Aspect Workflows 5.9.0-rc.19 (#733) 2024-01-25 23:06:34 -08:00
Greg Magolan adad7889c9
chore: upgrade to Aspect Workflows 5.9.0-rc.16 (#731) 2024-01-22 23:34:45 -08:00
Eric Hauser ee0442db9c
FR-723: make WriteSourceFileInfo public (#724)
* FR-723: make WriteSourceFileInfo public

* Update docs

---------

Co-authored-by: Greg Magolan <greg@aspect.dev>
2024-01-22 21:51:05 -08:00
Greg Magolan 1baf14f65c
chore: add example of using write_source_file to merge output tree artifact files with source files that are already in an output directory (#730) 2024-01-22 21:03:31 -08:00
renovate[bot] 83b9e7a773 chore(deps): update dependency platforms to v0.0.8 2024-01-22 10:38:07 -08:00
renovate[bot] 045ed3dd88 chore(deps): update dependency io_bazel_rules_go to v0.45.1 2024-01-22 10:37:49 -08:00
Alex Eagle 58b65c1736
chore: upgrade bash rlocation lib to v3 (#727) 2024-01-18 13:23:14 -08:00
Greg Magolan eabb9de525
chore: bump to e2-medium k8s nodes (#726) 2024-01-17 20:58:14 -06:00
Greg Magolan 4b377968ce
chore: reduce size of remote cache to tune deployment costs (#725) 2024-01-17 18:19:48 -08:00
renovate[bot] 41d33e7c7c fix(deps): update golang.org/x/exp digest to db7319d 2024-01-17 00:13:34 -08:00
renovate[bot] 3de2a5e8a9 chore(deps): update dependency bazel_gazelle to v0.35.0 2024-01-17 00:13:12 -08:00
Greg Magolan 5c7e759733
chore: upgrade to Aspect Workflows 5.9.0-rc.15 (#722) 2024-01-13 13:38:51 -08:00
Greg Magolan 5b3b7d7794
feat: allow write_source_file(s) to write source files to bazel packages outside of the target's package (#717) 2024-01-10 15:07:03 -08:00
Greg Magolan 57bcf288bd
chore: fix failing test on arm64 machines (#718) 2024-01-10 11:16:37 -08:00
Greg Magolan c9d08234ce
refactor: remove --enable-runfiles from javascript recommended bazelrc settings (#715) 2024-01-07 21:29:45 -08:00
Greg Magolan 516a5fe725
feat: add is_bazel_7_or_greater utility (#714) 2024-01-07 16:42:57 -08:00
Greg Magolan 5aaa785b96
chore: test against bazel 7.0.0 (#713) 2024-01-07 16:12:05 -08:00
Alex Eagle 1be6994ca6
Fix prerelease (#708)
* fix: use source toolchains for git archive prereleases

* Add comment about "g" prefix
2024-01-04 12:07:19 -08:00
Greg Magolan d313c8bf75
fix: move flags that should only be set with bazel 6 to bazel6.bazelrc recommended settings (#711) 2024-01-04 08:16:59 -08:00
Greg Magolan 71260d8669
chore: upgrade to Aspect Workflows 5.9.0.rc.10 (#710) 2024-01-03 00:16:47 -08:00
Greg Magolan 081ab5a879
chore: upgrade to Aspect Workflows 5.9.0-rc.9 (#705) 2023-12-22 15:08:16 -08:00
Sahin Yort ac0055e092
test: fix timeout (#707) 2023-12-22 11:44:44 -08:00
Sahin Yort 33bc4443fd
fix: create windows launcher for bats (#704) 2023-12-21 14:27:21 -08:00
Sahin Yort 4f6b4bd5cb
feat: implement bats test runner (#699) 2023-12-20 13:08:47 -08:00
Tobias Schlatter 8d805e16bf
fix #697: use to_repository_relative_path in mtree_spec (#696)
* Reproduction for mtree_spec behaving different in other repo

* Fix the bug (but not the test)

* Fix the test

* Rename mtree_spec e2e dir to tar

* Fix bzlmod tests

* Remove unnecessary skylib dependency from e2e repos

* Add e2e tests to matrix

* Replace e2e test with a normal test

To do this, we somewhat abuse the skylib dependency, but that's
probalby OK.
2023-12-20 11:22:42 -08:00