Commit Graph

473 Commits

Author SHA1 Message Date
Sahin Yort ef364b54b4
refactor: consume tools from source if unstamped (#543) 2023-09-24 15:06:10 -07:00
Greg Magolan b60dc04ed3
chore: upgrade to Aspect Workflows 5.8.0-rc8 (#546) 2023-09-23 09:52:00 -07:00
Sahin Yort e3015cd8fa
refactor: cleanup e2e (#542) 2023-09-22 13:04:09 -07:00
Matt Mackay 8fa2127518
fix: allow for BUILD files in outputs of write_source_file (#540) 2023-09-21 19:50:04 -04:00
Sahin Yort 719b8f33b0
refactor: add ability to test against tools from source (#532) 2023-09-21 15:12:46 -07:00
Sahin Yort 04e1c3c473
refactor: remove stamp information from tools (#537) 2023-09-21 14:55:57 -07:00
Matt Mackay 62394fbb68
fix: lookup source files from execroot when running diff_test on RBE (#531) 2023-09-21 13:27:08 -07:00
Douglas Parker 077e4b034b
feat: update `copy_to_directory` tool to accept the name of its workspace and automatically include files from it (#488)
Refs #359.

This allows `copy_to_directory` to be run in an external workspace and include files from that workspace automatically once the `copy_to_directory` rule is updated. The rule update needs to be separated from the tool update because the tool is pre-built and vendored rather than built at HEAD.
2023-09-21 11:34:57 -07:00
Marc Redemske 45986f000d
feat: add list utils (#512)
* feat: add list utils

* chore: add docs for lists

* fixes accoding to review

---------

Co-authored-by: Alex Eagle <alex@aspect.dev>
2023-09-21 10:12:47 -07:00
Alex Eagle 882bc95615
feat: expand_template allows inline template content (#533)
Co-authored-by: thesayyn <thesayyn@gmail.com>
2023-09-20 18:32:05 -07:00
Alex Eagle b7a3ea534e
chore: fix red ci (#534) 2023-09-20 17:39:22 -07:00
Sahin Yort 270a1bd9e3
fix: check in generated bazelrcs (#535) 2023-09-20 15:57:29 -07:00
Greg Magolan 7983da04e4
chore: upgrade to Aspect Workflows 5.8.0-rc6 (#530) 2023-09-19 13:39:34 -07:00
Ted Kaplan fc3c3181f3
docs: Add --incompatible_disallow_empty_glob to correctness.bazelrc (#524) 2023-09-18 19:58:27 -07:00
renovate[bot] 89d8605502
chore(deps): update actions/checkout action to v4 (#523)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-15 18:18:05 -07:00
Greg Magolan 56338348ea chore: upgrade to Aspect Workflows 5.8.0-rc4 (#525) 2023-09-14 01:59:12 -07:00
renovate[bot] 62fc770f25 chore(deps): update dependency platforms to v0.0.7 2023-09-13 17:56:37 -07:00
renovate[bot] b2316000f9 fix(deps): update golang.org/x/exp digest to 9212866 2023-09-13 17:50:11 -07:00
renovate[bot] abbd0e625e chore(deps): update dependency bazel_gazelle to v0.33.0 2023-09-10 19:50:13 -07:00
Greg Magolan 06cb7f0f78
chore: upgrade to Aspect Workflows 5.8.0rc3 (#521) 2023-09-09 15:40:14 -07:00
Alex Eagle d2203e9020
chore: pick up new expand_template go binary (#518)
Also fix an error that was getting reported in our release pipeline
2023-09-06 16:47:15 -07:00
Alex Eagle 8703eb9479
fix(expand_template): correct output permissions (#516)
We used hexadecimal where we meant to use octal.
0x666 in binary is 11001100110 but 0666 is 110110110 (9 digits as
expected)
so this was producing an output like
---xr--r-- 1 108 114 206 Sep  6 20:55 bazel-out/k8-opt/bin/stamped_labels.txt
2023-09-06 16:20:27 -07:00
Alex Eagle 2c11bf1e1b
chore: revert fancy release automation (#517)
It doesn't work properly with Publish To BCR app parsing of the module file.
2023-09-06 16:18:53 -07:00
Alex Eagle cd4293c140
refactor: invert the conditional for setting version (#515)
This evaluates the same way, but tricks the parser in Publish-to-BCR app into skipping any replacements
2023-09-06 15:50:37 -07:00
Alex Eagle f7a02f0c8e
fix: strip 'v' prefix from tag when setting module version (#514) 2023-09-06 08:11:13 -07:00
Alex Eagle f1e84078a6
chore: pull in https://github.com/bazel-contrib/rules-template/pull/93 (#513)
This means we won't need a module_dot_bazel.patch file on BCR anymore
2023-09-05 15:19:15 -07:00
Greg Magolan 1654a5fdc6
chore: update to Aspect Workflows 5.7.3 (#511) 2023-09-03 12:40:13 -07:00
Greg Magolan 3eee029152
chore: update to Aspect Workflows 5.7.1 (#509) 2023-08-30 22:27:49 -07:00
peter woodman 3e9577ab16
yq: allow any filename in srcs (#496)
* yq: allow any filename in srcs

* yq: add test cases for free-form file extensions in input

* run buildifier

---------

Co-authored-by: Alex Eagle <alex@aspect.dev>
2023-08-30 09:18:10 -07:00
Alex Eagle 594fb03874 fix: green up red main CI
On windows, we can't turn on the Aspect CLI currently as we don't have a release
2023-08-30 09:13:18 -07:00
Alex Eagle 40c2ddc71a refactor: reduce execution requirements for copy
It causes warnings like 753cd459e4/src/main/java/com/google/devtools/build/lib/sandbox/SandboxModule.java (L514)
and also makes toolchain selection broken for host!=exec

Fixes #466
2023-08-29 14:56:22 -07:00
Alex Eagle 84c60be530 chore: Switch to buildbuddy for RBE
Our Engflow cluster seems to be down.
2023-08-29 14:45:50 -07:00
Greg Magolan 76ef6c8988
chore: add test coverage for run_binary & expand_variables makevars (#504) 2023-08-26 13:59:48 -07:00
Matt Mackay ef4830bf25
docs: add comment regarding linux-arm64 JQ toolchain (#503) 2023-08-24 09:54:44 -07:00
Greg Magolan d01387c163
chore: update to Aspect Workflows 5.7.0 (#501) 2023-08-23 21:49:42 -07:00
renovate[bot] 9ba7a6521d chore(deps): update dependency bazel to v6.3.2 2023-08-23 17:38:59 -07:00
Greg Magolan 7d88eac298
chore: update to Aspect Workflows 5.7.0-rc10 (#500) 2023-08-23 16:37:49 -07:00
Steven E. Harris 3af9e00308
docs: clarify write_source_files output constraint (#498)
* docs: clarify write_source_files output constraint

For both the "write_source_files" rule's "files" attribute and the
"write_source_file" rule's "out_file" attribute, we ensure that the
destination files and directories to which we'll write sit within the
same containing Bazel package as the Bazel target requesting this
writing. Clarify the documentation for each attribute to make it clear
that we're constraining the destinations and not the sources of the
content to be written.

* Update lib/write_source_files.bzl

---------

Co-authored-by: Derek Cormier <derek@aspect.dev>
2023-08-23 12:32:56 -07:00
Greg Magolan 672ea6a80f
chore: add Aspect Workflows CI (on GCP + CircleCI) (#499) 2023-08-23 11:04:40 -07:00
Fabian Meumertzheim 682d6f2345 Fix `update_docs` with Bazel 7 and stardoc 0.6.0 2023-08-14 12:01:13 -07:00
Greg Magolan e549125016
chore: bump to Bazel 6.3.0 (#487) 2023-07-28 16:36:49 -07:00
Alex Eagle c6e9fa0e62 chore: document JQ_BIN make var 2023-07-26 13:18:31 -07:00
Alex Eagle 4231d45afc Revert "chore(deps): update dependency io_bazel_stardoc to v0.5.6"
This reverts commit 8985cc40eb.
2023-07-26 13:08:13 -07:00
Alex Eagle 0726148dea Revert "chore(deps): update dependency buildifier_prebuilt to v6.1.2"
This reverts commit ffa3f3c155.
2023-07-26 08:58:43 -07:00
Ricky Stewart 2931a1018a feat: add freebsd support 2023-07-25 20:14:46 -07:00
renovate[bot] ffa3f3c155 chore(deps): update dependency buildifier_prebuilt to v6.1.2 2023-07-25 20:11:16 -07:00
renovate[bot] 2d0688c225 chore(deps): update continuation orb to v1 2023-07-25 20:10:04 -07:00
renovate[bot] 8985cc40eb chore(deps): update dependency io_bazel_stardoc to v0.5.6 2023-07-25 20:09:49 -07:00
renovate[bot] f83d1645a2 chore(deps): update slack orb to v4.12.5 2023-07-25 20:09:12 -07:00
Greg Magolan 0ec6ef929d
chore: setup CircleCI for Workflows (#479) 2023-07-22 15:42:35 -07:00