Commit Graph

560 Commits

Author SHA1 Message Date
Greg Magolan 6b1f08c4c1
chore: update to Aspect CLI 5.2.1 (#389) 2023-03-07 14:10:22 -08:00
Greg Magolan 34bcfdedea chore: update goldens 2023-03-05 17:52:12 -08:00
Alex Eagle abaf4649f5 fix(bazelrc-presets): restore 60s progress rate on CI 2023-03-05 17:51:26 -08:00
Greg Magolan f472a3ac83
chore: update to Aspect CLI 5.2.0-rc0 (#387) 2023-03-04 11:12:55 -08:00
Greg Magolan 8c58935da1
feat: add label_str utility to generate consistent label strings for all Bazel versions (#386) 2023-03-03 18:23:17 -08:00
Derek Cormier 018fb2db18 chore: set --heap_dump_on_oom preset to apply to all commands 2023-03-01 15:40:17 -08:00
Derek Cormier 2704c61128 chore: remove unnecessary duplication in bazelrc presets 2023-03-01 14:47:54 -08:00
Alex Eagle 8b7af261be docs: include from-HEAD install
Similar to https://github.com/bazel-contrib/rules-template/pull/52
2023-02-28 06:36:48 -08:00
Greg Magolan 91eeca7d40
fix: remove --experimental_guard_against_concurrent_changes from recommended correctness settings (#380) 2023-02-23 00:28:46 -08:00
Matt Mackay 09c08e4ed7
fix: update recommend CI flags from Workflows (#378) 2023-02-22 15:46:20 -08:00
Greg Magolan 1fdfd6e831
fix: add missing **kwargs to write_aspect_bazelrc_presets (#379) 2023-02-22 12:17:00 -08:00
Derek Cormier fff5f10ad8 chore: declare extension repos on single line 2023-02-21 14:11:43 -08:00
Derek Cormier 83fb3050c2 feat: allow additional common args to be passed to update_docs 2023-02-21 10:49:06 -08:00
Derek Cormier 23eb184493 feat: declare host_repo in bzlmod extension 2023-02-21 10:49:06 -08:00
Derek Cormier dda3bbda86 chore: depend on skylib release artifact 2023-02-19 16:55:31 -08:00
Greg Magolan 8833c8ebf8 chore: update renovate config 2023-02-18 09:23:22 -08:00
Greg Magolan 86a2676211
fix: fixup BCR presubmit; it doesn't like symlinks to rc files (#374) 2023-02-17 17:03:55 -08:00
Greg Magolan b543f30eb3
fix: fixup BCR presubmit failure (#373) 2023-02-17 16:45:57 -08:00
Greg Magolan 569fa374ef
feat: add write_aspect_bazelrc_presets macro (#370) 2023-02-17 14:34:06 -08:00
Greg Magolan cb6e0c1626
build: add MacOS and Windows to CI for landed commits (#371) 2023-02-17 11:56:56 -08:00
Alex Eagle 1df2becc7a chore: turn on more basic precommit checks
In particular this makes our bazelrc presets more compliant with client codebases, ensuring they can copy these files and not trip on their own pre-commit check
2023-02-17 11:00:00 -08:00
Greg Magolan fde705ba8c
feat: make bazel-lib the source-of-truth for Aspect recommended bazelrc settings (#369) 2023-02-16 16:59:21 -08:00
Alex Eagle bda8e69ea0 chore: fix spelling 2023-02-15 09:08:46 -08:00
Alister Cordiner 34d05573e2
Fix the 'find -type' argument used on MacOS (#366) 2023-02-14 10:38:43 -08:00
Jacob Gardner 76b0b3b90f
Fix Realpath relying on path.IsAbs which does not work on windows (#358) 2023-02-11 12:45:29 -08:00
Greg Magolan 8f02b3364e
feat: add to_rlocation_path and to_repository_relative_path functions to paths.bzl (#362) 2023-02-11 12:36:49 -08:00
Derek Cormier 096805f0ce enhancement: allow additional attributes to be passed to assert_* tests 2023-02-10 07:14:05 -08:00
Greg Magolan fe1dc9c734 chore: remove New PR workflows as it doesn't work on forks 2023-02-08 11:35:25 -08:00
Greg Magolan 16d9f9cb18 chore: add workflows for new issues & PRs 2023-02-07 10:58:14 -05:00
Jason Bedard 05a92b8b99
fix: show directory being copied to in copy_to_directory progress message (#345)
* fix: use formatted short_path in copy progress messages

* fix: display destination directory in copy_to_directory progress message
2023-02-05 20:47:02 -08:00
Derek Cormier d413641195 fix: fix a bug where `bazel run @jq//:jq` cannot be run on M1 2023-02-03 08:15:48 -08:00
Greg Magolan 8493c3427c
fix: migrate Aspect Workflows configuration past breaking changes (#355) 2023-02-03 07:15:37 -08:00
Greg Magolan 95d4b6974c
fix: update copy_directory and copy_to_directory to use binaries with copy concurrency limited (#352) 2023-02-01 16:14:51 -08:00
Thulio Ferraz Assis 2854f86e56
fix: limit copy concurrency (#351)
Signed-off-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
2023-02-01 12:30:42 -08:00
Alex Eagle 3d58a71c60 fixup! release: publish release artifact 2023-02-01 10:43:45 -08:00
Alex Eagle dead59b7b0 release: publish release artifact
GitHub's stability guarantee for the archive is iffy, and we want metrics on downloads.
See https://github.com/bazel-contrib/SIG-rules-authors/issues/11#issuecomment-1412241948
2023-02-01 10:43:45 -08:00
Alex Eagle cb610ef169 chore: change to unzip -Z as it looks more likely to be on windows 2023-01-20 16:16:42 -08:00
Alex Eagle 2cb6c7ac4f chore: also accept expected as a list of entries 2023-01-20 16:16:42 -08:00
Alex Eagle 19dcea9828 refactor: infer the archive type from the filename 2023-01-20 16:16:42 -08:00
Alex Eagle 9b7250d146 test: add happy-path test for assert_archive_contains 2023-01-20 16:16:42 -08:00
Alex Eagle 083ff26ced feat: add assert helper for zip contents
Helps to make sure that Python wheels are correctly constructed, as one example.
2023-01-20 16:16:42 -08:00
renovate[bot] 78f8151760
chore(deps): update dependency io_bazel_rules_go to v0.37.0 (#290)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-17 10:12:01 -08:00
renovate[bot] 3279948d60
chore(deps): update dependency bazel_gazelle to v0.29.0 (#325)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-17 10:11:43 -08:00
Greg Magolan 1deb42c31f
chore: update copy toolchain to latest releases (#340) 2023-01-16 22:11:33 -08:00
Greg Magolan de8d9cae3d
fix: use custom realpath function in copy_directory and copy_to_directory since github.com/yookoala/realpath has bugs on Windows (#338) 2023-01-16 21:46:50 -08:00
Greg Magolan 25a3040180
chore: add e2e/workspace test (#339) 2023-01-16 21:46:39 -08:00
Greg Magolan d5631bc18d
chore: update copy toolchains to latest release (#337) 2023-01-16 19:38:56 -08:00
Greg Magolan 497409b15b
fix: bzlmod toolchain registration for copy_directory & copy_to_directory (#336) 2023-01-16 19:37:36 -08:00
Greg Magolan 63f5aff803
feat: hardlink generated files in copy_to_directory and copy_directory instead of copying (#321) 2023-01-16 17:19:13 -08:00
Greg Magolan 74caa5c097
fix: on Windows you must call filepath.Walkdir on the realpath and not the symlink path (#335) 2023-01-16 15:41:39 -08:00