Thomas Lam
faaada2eaa
feat: add platform_transition_test ( #770 )
...
* Add platform_transition_test
Signed-off-by: Thomas Lam <thomaslam@canva.com>
* Set target platform constraints for tests
Signed-off-by: Thomas Lam <thomaslam@canva.com>
* Update docs
Signed-off-by: Thomas Lam <thomaslam@canva.com>
---------
Signed-off-by: Thomas Lam <thomaslam@canva.com>
2024-04-03 14:42:07 -07:00
Greg Magolan
7716549ab9
feat: export utils from //lib:utils.bzl to match repo_utils and platform_utils ( #810 )
2024-04-03 14:00:44 -07:00
Greg Magolan
abf56a6454
feat: add get_home_directory to repo_utils ( #809 )
2024-04-03 13:53:18 -07:00
Greg Magolan
41a9295f07
feat: add //lib:enable_runfiles config_setting ( #807 )
2024-04-01 07:27:38 -07:00
Alex Eagle
f4f588f4ea
Use statically-linked bsdtar on all platforms ( #804 )
...
* [tar] Switch to statically linked binaries
* chore: don't use bsdtar for extract yet
* chore: add dzbarsky integrity hashes
* Upgrade to 3.7.2.bcr.2 (#806 )
* chore: replace URLs with aspect-build fork
---------
Co-authored-by: David Zbarsky <dzbarsky@gmail.com>
2024-03-29 11:35:56 -07:00
Alex Eagle
7bfc21bc93
Update README.md
...
Fix syntax goof that broke a link
2024-03-28 22:56:17 -07:00
Greg Magolan
a8d0ff629b
chore: upgrade to Aspect Workflows 5.9.24 ( #803 )
2024-03-28 01:14:00 -04:00
Greg Magolan
06dc9ce4bf
chore: upgrade to Aspect Workflows 5.9.24 ( #801 )
2024-03-27 23:00:26 -04:00
Joy Gao
624e8acac5
clean rm of copied dirs and files ( #799 )
2024-03-27 10:02:47 -04:00
Alex Eagle
fea9515087
feat: don't require 'out' on expand_template ( #798 )
...
In a lot of cases the name of the generated file is unimportant.
For example in https://github.com/bazel-contrib/rules_oci/pull/534 I wanted to remove 'out' in a bunch of these calls.
2024-03-26 16:57:16 -07:00
Alex Eagle
0fc838839c
feat: add a helper for rules to work with resource_sets ( #792 )
...
* feat: add a helper for rules to work with resource_sets
This API is poorly designed and needs some help to let rule users pick a value in cases that they aren't also the rule author
* chore: add some cpu resource_set values as well
2024-03-18 15:38:24 -07:00
Greg Magolan
266edb2439
chore: stash output of vmstat in artifacts ( #793 )
2024-03-15 19:03:18 -07:00
Greg Magolan
6599b03e75
chore: switch to new Aspect Workflows OSS staging deployment ( #791 )
2024-03-14 18:03:26 -07:00
Greg Magolan
54a6cb1399
chore: upgrade to Aspect Workflows 5.9.22 ( #787 )
2024-03-10 16:09:08 -07:00
Sahin Yort
a29dd93c0b
fix: srcs is not mandatory ( #786 )
2024-03-08 10:47:38 -08:00
Sahin Yort
d93c87fbbd
fix: tar#srcs is optional ( #785 )
2024-03-07 17:44:35 -08:00
Greg Magolan
42b8255207
chore: upgrade to Aspect Workflows 5.9.20 ( #784 )
2024-03-07 15:23:00 -08:00
Greg Magolan
7f3829dbf3
chore: upgrade to Aspect Workflows 5.9.18 ( #780 )
2024-03-05 20:16:58 -08:00
Greg Magolan
fdb7bf3a56
docs: add warning about using use_default_shell_env ( #779 )
2024-03-05 10:33:05 -08:00
Greg Magolan
73e620161a
docs: add use_default_shell_env to docstring of run_binary ( #778 )
2024-03-05 10:27:02 -08:00
Greg Magolan
dce063722d
chore: fix circleci yaml generation for artifact path storage ( #777 )
2024-03-04 13:38:50 -08:00
Greg Magolan
4f684081d7
chore: upgrade to Aspect Workflows 5.9.16 ( #775 )
2024-03-03 18:30:25 -08:00
Sahin Yort
197b2da974
feat: support location expansion in tar ( #774 )
2024-03-01 14:51:47 -08:00
Greg Magolan
834f9c9dc0
chore: upgrade to Aspect Workflows 5.9.15 ( #773 )
2024-03-01 14:41:59 -08:00
Greg Magolan
00b2d2ceb7
chore: upgrade to Aspect Workflows 5.9.14 ( #772 )
2024-03-01 10:22:55 -08:00
Greg Magolan
d3f98c32ee
chore: fix GHA concurrency check to not apply to main branch ( #771 )
2024-02-29 13:45:10 -08:00
Matt Mackay
aa6a58f73c
chore: bump libxml2 deb to USN-6658-1 ( #768 )
2024-02-27 13:10:08 -05:00
Marc Redemske
a3d7efe298
feat(list): add `unique` function ( #716 )
...
* feat(list): add `unique` function
* Update lists.bzl
* Update lists.bzl
* Update lists.bzl
* Update lists.bzl
---------
Co-authored-by: Alex Eagle <alex@aspect.dev>
2024-02-27 08:25:00 -08:00
renovate[bot]
4670e58007
chore(deps): update dependency bazel to v6.5.0 ( #738 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-26 17:44:28 -08:00
Mike Lundy
dfcffca8f5
jq: add data file and location expansion support ( #757 )
...
This teaches the jq rule about a `data` attribute and adds conditional
support to do bazel location expansion. The expansion is disabled by
default because it likely would cause compat concerns (since jq can take
arbitrary text as input args).
2024-02-26 17:43:56 -08:00
Alex Eagle
8906db5ced
Update renovate.json ( #572 )
...
Don't try to update the root MODULE.bazel, it has our user-facing minimum versions
2024-02-26 17:39:52 -08:00
renovate[bot]
1747382401
chore(deps): update actions/github-script action to v7 ( #759 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-26 17:34:30 -08:00
renovate[bot]
81633f0c77
chore(deps): update actions/cache action to v4 ( #744 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-26 17:31:31 -08:00
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