Greg Magolan
b1c342a96f
chore: bazel run //:format ( #682 )
2023-12-08 00:30:39 -08:00
Greg Magolan
bb64a79dc3
chore: bring in aspect_rules_lint and add format task to Aspect Workflows ( #681 )
2023-12-07 23:34:24 -08:00
Sahin Yort
d1642aa020
feat: expose common tar variables ( #679 )
2023-12-07 12:29:35 -08:00
Greg Magolan
95362f5648
chore: upgrade to Aspect Workflows 5.9.0-beta.2 ( #677 )
2023-12-05 22:47:13 -08:00
Greg Magolan
81b0b20c5c
chore: upgrade to Aspect Workflows 5.8.15 ( #674 )
2023-12-03 15:04:22 -08:00
Tobias Schlatter
975a933e24
docs: fix load path for copy_file_to_bin_action ( #673 )
2023-11-30 10:58:48 -08:00
Greg Magolan
ddac9c46c3
chore: upgrade to Aspect Workflows 5.8.10 ( #672 )
2023-11-29 13:59:56 -08:00
Derek Cormier
b1f6f34f49
chore: enable dynamic port allocation on workflows NAT ( #669 )
2023-11-22 12:37:19 -08:00
Derek Cormier
2433bae249
chore: add an e2e to test copy actions ( #665 )
2023-11-18 19:00:40 -08:00
Derek Cormier
c3a8cb0c72
fix: remove need for rules_go when depending on a bzl_library target ( #663 ) ( #664 )
2023-11-16 14:26:40 -08:00
Derek Cormier
2b38ad5d29
feat: expose toolchains used for copy actions ( #661 )
2023-11-16 07:15:50 -08:00
Derek Cormier
95e7ad5e0b
fix: fix a bug where toolchain repositories were potentially duplicated ( #662 )
2023-11-16 06:57:29 -08:00
Derek Cormier
5bd6e5fdd4
fix(ci): fix bzlmod issues and enable on ci ( #658 )
2023-11-15 15:07:03 -08:00
Derek Cormier
e233a808c1
fix: exclude bazeliskrc from smoke test ( #654 )
2023-11-14 15:39:56 -08:00
David Zbarsky
01ca8f9432
Use coreutils toolchain for copy_file action ( #622 )
...
refactor: use coreutils toolchain for copy_file action
---------
Co-authored-by: Greg Magolan <greg@aspect.dev>
Co-authored-by: Derek Cormier <derek@aspect.dev>
2023-11-14 11:03:51 -08:00
David Zbarsky
b74a45456d
Upgrade coreutils and add darwin arm64 binary ( #649 )
2023-11-14 08:47:21 -08:00
Greg Magolan
498c5c851d
chore: upgrade to Aspect Workflows 5.8.7 ( #646 )
2023-11-12 07:48:17 -08:00
Derek Cormier
541c014f7c
chore: update bcr maintainer list ( #644 )
2023-11-08 10:55:49 -08:00
Greg Magolan
fe2d31870c
chore: green up Windows CI ( #643 )
2023-11-07 14:01:45 -08:00
renovate[bot]
7551e5c087
fix(deps): update module github.com/bmatcuk/doublestar/v4 to v4.6.1
2023-11-03 12:37:23 -07:00
Alex Eagle
59ea86d7c0
refactor: move 'git archive' configuration to .gitattributes ( #641 )
...
Makes it match bazelbuild/rules_proto#189
2023-11-01 09:00:27 -07:00
Greg Magolan
602b7b8f80
Revert: feat: expose a config_setting for copy execution_requirements ( #606 ) ( #640 )
2023-10-31 15:19:38 -07:00
Greg Magolan
a47eebfa65
fix: fix execution requirements for 'build without the bytes' ( #639 )
2023-10-31 13:38:32 -07:00
Greg Magolan
1365cfdf92
chore: upgrade to Aspect Workflows 5.8.3 ( #635 )
2023-10-26 22:25:18 -07:00
Greg Magolan
7402da72c1
chore: don't run legacy pipeline when warming ( #634 )
2023-10-25 07:20:19 +02:00
Alex Eagle
8cf7e6f995
feat: support treeartifacts ( #630 ) ( #631 )
...
Co-authored-by: Sahin Yort <thesayyn@gmail.com>
2023-10-19 15:57:48 -07:00
Greg Magolan
a69b16bfcf
chore: update buildifier targets used by Aspect Workflows ( #629 )
2023-10-18 15:49:34 -07:00
Greg Magolan
c01c0e8443
chore: upgrade to Aspect Workflows 5.8.2 ( #628 )
2023-10-18 15:11:54 -07:00
Greg Magolan
0f0b5678f5
chore: tweak CCI config yaml ( #627 )
2023-10-18 14:25:03 -07:00
David Zbarsky
a4f99946c6
Unconditionally use runfiles.merge_all in write_source_file
2023-10-16 15:45:24 -07:00
Derek Cormier
5077d5ae4a
chore: remove bazel5 presets ( #614 )
2023-10-16 13:35:41 -07:00
Alex Eagle
16e63aad94
Update ci.yaml ( #619 )
...
We swapped branches now that 2.0 is in release candidate
2023-10-10 18:00:22 -07:00
Alex Eagle
339fd76bf0
chore: remove useless check for stamped binary ( #618 )
...
Since we stopped `--stamp`ing our releases, this check can never fail.
2023-10-10 20:32:11 -04:00
Greg Magolan
219240d27a
chore: upgrade to Aspect Workflows 5.8.0 ( #617 )
2023-10-10 16:14:15 -07:00
Alex Eagle
eda4929c72
chore: add windows binaries ( #610 )
...
* chore: add windows binaries
* chore: fix/exclude windows brokenness
* chore: try to see why diff tests fail on windows
* fix: rm bazelisk rc again for windows
* fix: try our own diff_test
* chore: use only our own diff_test
2023-10-10 14:13:17 -07:00
Alex Eagle
177b883991
refactor: use _mtree_line helper ( #612 )
...
Also restore the .bazeliskrc file I accidentally removed in 4bfe55711a
2023-10-10 12:33:21 -07:00
Derek Cormier
20f1ac39e0
refactor: rework toolchain registration for WORKSPACE and bzlmod users ( #597 )
2023-10-10 12:16:13 -07:00
Alex Eagle
e1d9d9b58f
fix: windows home directory ( #608 )
...
HOMEPATH isn't always set. For example https://buildkite.com/bazel/bazel-bazel-examples/builds/2163#018b1a9d-0127-461f-8200-e89894397f35
USERPROFILE seems more widely documented as being the equivalent of HOME
2023-10-10 10:57:18 -07:00
Douglas Parker
323329f119
fix: always include files from the same workspace as the build target in `copy_to_directory()` ( #360 )
...
* fix: always include files from the same workspace as the build target in `copy_to_directory`
Fixes #359 .
This updates the `copy_to_directory` tool to accept a workspace name representing the workspace of the target it is executing under. Any files in this workspace are automatically included, regardless of the `include_external_repositories` option. This makes it support usage within an external target (such as `@wksp//:dir`).
* test: add e2e test which uses `copy_to_directory` within an external workspace
Refs #359 .
This should catch regressions where no files are copied when built within an external workspace and not using `include_external_repositories`.
* ci: fix stray workspace refs
---------
Co-authored-by: Alex Eagle <alex@aspect.dev>
2023-10-10 10:57:08 -07:00
Alex Eagle
472bf9b122
feat: tar includes runfiles ( #595 )
...
* feat: tar includes runfiles
* chore: try to fix red circleci
* fix: tracked down problem
* chore: document tar#srcs supports runfiles
* chore: add comment about logic for trimming manifest suffix
* chore: missed a replacement spot
* chore: give up on the listing test for now
2023-10-09 15:57:52 -07:00
Alex Eagle
4bfe55711a
feat: expose a config_setting for copy execution_requirements ( #606 )
...
* feat: expose a config_setting for copy execution_requirements
Fixes #604
* chore: add user docs
* chore: improve docs
* chore: better link to copy_file
2023-10-09 13:57:34 -07:00
Greg Magolan
aa478e4c95
chore: upgrade to Aspect Workflows 5.8.0-rc14 ( #598 )
2023-10-09 11:15:38 -07:00
Greg Magolan
b58426619d
chore: upgrade to Aspect Workflows 5.8.0-rc12 ( #596 )
2023-10-09 11:15:33 -07:00
Alex Eagle
4a4dafa6e8
Fix bzlmod ( #600 )
...
* fix: gazelle is not a devdep
It's easy to see because we reference the symbol two lines below here
* fix: gazelle must be a regular dep
I found this mistake when trying to use bazel-lib in a downstream repo.
2023-10-08 15:57:29 -07:00
Alex Eagle
28cb7a2145
chore: fix tar_toolchain naming ( #599 )
...
Also register them in the correct order, matching how WORKSPACE works
2023-10-08 15:16:55 -07:00
Alex Eagle
bc97305fcd
Revert "refactor: reduce execution requirements for copy" ( #594 )
...
* Revert "refactor: reduce execution requirements for copy"
This reverts commit 40c2ddc71a
.
* Update ci.bazelrc
2023-10-06 19:19:18 -07:00
Greg Magolan
1cd2eb7e0a
refactor: remove exclude_prefixes from copy_to_directory and copy_to_directory_bin_action ( #591 )
2023-10-06 10:17:33 -07:00
Greg Magolan
cb9b74f41e
refactor: remove to_workspace_path and to_manifest_path ( #590 )
2023-10-06 08:37:53 -07:00
Greg Magolan
231dad5c92
refactor: remove output_dir from run_binary and expand_variables ( #588 )
2023-10-06 08:32:55 -07:00
Greg Magolan
3a16b4de26
refactor: remove legacy copy_directory_action helper ( #589 )
2023-10-06 08:32:25 -07:00