Commit Graph

564 Commits

Author SHA1 Message Date
Malte Poll 794df714d7 Use actual newline (instead of "\n") to split strings in yq rule
Fixes d79f4d4
Fixes #463

This is required since versions of yq older than 4.30.3 do not parse "\n" correctly.
See https://github.com/mikefarah/yq/issues/1430 and e02bb7194897edb916a6787fb8f8e5a7f432dd94
2023-06-22 17:09:44 -07:00
renovate[bot] 6393098453 chore(deps): update dependency bazel_skylib_gazelle_plugin to v1.4.2 2023-06-16 08:11:04 -07:00
Malte Poll d79f4d4867 feat: yq supports stamping
Fixes #223
2023-06-15 16:50:26 -07:00
Jason Bedard 3008f91387 chore: disable bazel 5 tests on windows 2023-06-14 15:07:20 -07:00
Jason Bedard a0fab595e2 chore: disable buildifier on windows 2023-06-14 09:15:17 -07:00
Jason Bedard 4083648850 chore: disable bazel 7 on windows 2023-06-14 09:15:09 -07:00
Jason Bedard 47dd4ce9fd chore: run buildifier 2023-06-13 16:28:17 -07:00
Jason Bedard 7b382c9ff1 ci: enable buildifier check on ci 2023-06-13 16:28:17 -07:00
Jason Bedard c4e601f244
ci: add bazel 7 prerelease tests (#452) 2023-06-13 16:26:33 -07:00
renovate[bot] b05974b197
chore(deps): update dependency bazel to v6.2.1 (#445)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-12 22:22:40 -07:00
renovate[bot] 713824e8a7
chore(deps): update dependency bazel_skylib to v1.4.2 (#453)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-12 22:16:56 -07:00
renovate[bot] 523aee3074
chore(deps): update dependency bazel_gazelle to v0.31.1 (#443)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-12 22:03:12 -07:00
Derek Cormier e2466ee3b0 fix: add queue name to workflows config 2023-06-07 13:14:33 -07:00
Alex Eagle c89ec6a554 docs: clarify rlocationpath 2023-05-24 17:16:00 -07:00
Alex Eagle 9b148663d1 fix(stardoc): upgrade and stop skipping under bzlmod
Newest stardoc has fixed it, and since bzlmod will select the lowest
version in the dependencies, our bump here will take effect for users
as well.
2023-05-17 15:06:35 -07:00
renovate[bot] b0f4558869 chore(deps): update dependency bazel to v6.2.0 2023-05-17 08:08:56 -07:00
Sahin Yort a9eb91dd16
chore: add trailing newline (#439) 2023-05-16 16:46:16 -07:00
Sahin Yort 6af964f261
feat: support stamp substituions (#435) 2023-05-16 16:14:50 -07:00
Jason Bedard e0ae19940c
test: add tests for copying hidden files (#438)
See https://github.com/aspect-build/rules_js/issues/1055
2023-05-16 15:57:57 -07:00
Sahin Yort 66da21ff6f
fix: remove missing toolchain load (#437) 2023-05-16 15:07:06 -07:00
Sahin Yort 3b4b59c4b4
feat: introduce expand_template toolchain (#436) 2023-05-16 14:56:57 -07:00
Sahin Yort 781d1cbebf
feat: implement chr, ord, and hex (#425) 2023-05-15 12:15:55 -07:00
Derek Cormier f080671cec chore: update workflows config 2023-05-11 20:35:38 -07:00
Jason Bedard b5e9238dfa
fix: support special chars in assert_contains expected expression (#426)
See https://github.com/aspect-build/rules_js/issues/1045
2023-05-10 16:07:40 -07:00
Alex Eagle d13884f29d chore: bump minimum Bazel version to 5.4.0
this was forced by a rules_go upgrade. We don't actually require all bazel-lib users to upgrade.
This does reduce our tested compatibility range a bit, but the important thing is we work with Bazel 5.x
2023-05-08 08:08:21 -07:00
renovate[bot] e8eea5cff4 chore(deps): update dependency io_bazel_rules_go to v0.39.1 2023-05-08 08:08:21 -07:00
Alex Eagle 347cdac300 update docs 2023-05-08 07:49:24 -07:00
Jiawen (Kevin) Chen 4c8866b618 Fix typos in run_binary docs. 2023-05-08 07:49:24 -07:00
Jason Bedard 14be93a63e fix: rewrite glob implementation to follow standard glob specs
Implementation based on 465a339d8d/match.go (L74)

Fix https://github.com/aspect-build/bazel-lib/issues/419
2023-05-08 07:46:19 -07:00
Jason Bedard 1bb1056153 refactor: simplify glob validation 2023-05-08 07:46:19 -07:00
Jason Bedard c363420c70
refactor: cleanup glob implementation, add tests (#420)
Prefactor to https://github.com/aspect-build/bazel-lib/issues/419
2023-05-05 15:11:16 -07:00
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