Commit Graph

533 Commits

Author SHA1 Message Date
Alex Eagle 6f1f2fb198 fix(yq): restore default version, reverting #405
The new version of yq is quite breaking, as it requires '-oj -r' for continued operation in rules_oci.
We can do a default version flip later when more downstream projects are compatible.
2023-05-05 13:07:51 -07:00
renovate[bot] 3d0a0fcaad
fix(deps): update golang.org/x/exp digest to 47ecfdc (#413)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-01 20:30:33 -07:00
Greg Magolan 03530d97d0
chore: update to Bazel 6.1.2 and Aspect CLI 5.3.4 (#417) 2023-05-01 20:21:41 -07:00
Greg Magolan 51f1ce702f
chore: update copy directory golang binary release versions to use (#416) 2023-05-01 20:21:10 -07:00
Henk Erik van der Hoek 39d556a225
Chore: update YQ (#405)
* Chore: update YQ

* Update tests

* Update docs

* Update docs

---------

Co-authored-by: Greg Magolan <gmagolan@gmail.com>
2023-05-01 19:18:50 -07:00
Jason Bedard b983608c08
docs(write_source_file): specify the name of the generated diff_test (#410)
Fix #409
2023-04-19 14:09:03 -07:00
Alex Eagle a04c31248b docs(jq): document empty srcs 2023-04-19 09:03:52 -07:00
Alex Eagle e9c0612fbf
Update stamping.bzl
Fix formatting error with underscores
2023-04-18 13:27:19 -07:00
Alex Eagle adca277409 fix: use test command for test flags
I don't think there's any reason we apply these two flags for `build`?
2023-04-13 07:45:07 -07:00
Alex Eagle e30284f2fa chore: use config.yml to indicate releaser
We want to cleanup our GitHub tokens, and this repo is different from all others by historical accident.
2023-04-06 16:58:07 -07:00
renovate[bot] be3e47f239 chore(deps): update dependency bazel_gazelle to v0.30.0 2023-04-06 16:25:51 -07:00
Alister Cordiner 803d5ecda8 Correctly handle empty directory when checking for missing file 2023-04-03 18:03:19 -07:00
renovate[bot] 6fddec2e6e fix(deps): update golang.org/x/exp digest to 10a5072 2023-04-01 14:12:43 -07:00
renovate[bot] 7222d41538 chore(deps): update dependency bazel to v6.1.1 2023-04-01 14:12:11 -07:00
Alex Eagle 5162ae4d8c feat: detect bzlmod automatically rather than requiring the user sets the flag.
Thanks to @aherrmann for pointing out this is possible: https://github.com/aherrmann/demo-bazel-detect-bzlmod-config-setting
2023-03-31 14:56:22 -07:00
Greg Magolan f2bb1d1519
fix: windows CI (#395) 2023-03-12 02:36:10 +00:00
Greg Magolan 0faa797de6 chore: remove aspect cli bazeliskrc from e2e/smoke as it breaks BCR presubmit 2023-03-11 17:46:40 -08:00
Alex Eagle 035473873a fix: disable stardoc under bzlmod and windows by default
We've been making these exceptions in downstream repos
2023-03-11 13:58:03 -08:00
Greg Magolan 5faf59e8a6 chore: fix 'windows' pull request check; head_ref is the branch name while ref ends up being a generated GH actions branch name for the PR 2023-03-10 17:15:52 -08:00
Greg Magolan 8255da2d2c
chore: remove unnecessary call to register_coreutils_toolchains() in e2e/coreutils (#393) 2023-03-10 16:31:54 -08:00
Sahin Yort e31867302e
chore: use coreutils hashsum (#333) 2023-03-10 20:37:57 +03:00
Derek Cormier be41c1d686
fix: remove merkle tree caching (#390) 2023-03-09 12:24:44 -08:00
Gary Miguel e872660dbc
Update link to example from angular (#388)
* Update link to example from angular

Previous target was deleted or renamed. Now use a permalink.

* bazel run @//docs:update
2023-03-07 15:42:16 -08:00
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