Commit Graph

734 Commits

Author SHA1 Message Date
Alex Eagle 3330c38904
chore: upgrade bsdtar to 3.7.4 (#866) 2024-06-17 07:49:35 -07:00
Alex Eagle fb950d38ae
docs: add missing default stamp var (#865)
* docs: add missing default stamp var

* update docs
2024-06-13 09:56:06 -07:00
Josh Giles 3c0dbd5895
fix: Directory hidden files in write_source_file. (#860)
* Fix #667: Dir hidden files in write_source_file.

Copy and manage hidden files starting with "." in write_source_files.

Previously these files were not supported if they were in the top level
of the directory to copy.

* Add test and fix error messages from cp, chmod.

* Also fix executable dir case.

* Fix issue with copying directory rather than contents.
2024-06-11 00:30:53 -07:00
Greg Magolan 0cb85f693d
chore: add --check_direct_dependencies to .bazelrc (#864) 2024-06-07 11:49:45 -07:00
Greg Magolan 2b5947a33e
chore: upgrade to Aspect Workflows 5.10.0 (#863) 2024-06-05 17:53:20 -07:00
Greg Magolan 00310a5b91
test: add test / example of using root path on a run_binary directory output (#862) 2024-06-05 13:48:07 -07:00
Greg Magolan 2da5d43b89
chore: upgrade to Aspect Workflows 5.10.0-rc1 (#861) 2024-06-01 22:09:32 -07:00
Greg Magolan 7a8f00cd7f
fix: exclude files in copy_to_directory before checking their realpath (#857) 2024-05-28 11:04:25 -07:00
Greg Magolan f30debb505
refactor: pre-factors for fix in copy_to_directory (#858) 2024-05-28 09:42:06 -07:00
Alex Eagle 22c33dfc51
fix: integrity hashes are now sha256 since #854 (#855) 2024-05-23 16:26:14 -07:00
Alex Eagle 4ad02b7795
refactor(release): switch release integrity to be dynamic (#854)
* refactor(release): switch release integrity to be dynamic

This matches rules_py as documented by
https://blog.aspect.build/releasing-bazel-rulesets-rust

It has the benefit that developers no longer get yelled at to vendor some updated integrity hashes into bazel-lib every time they touch the Go sources.

* refactor: echo should produce trailing newline

* chore: bump action-gh-release to avoid Node 16 warning

* chore: update test that is sensitive to compilation mode

We now only use --compilation_mode=opt when cutting a release
2024-05-23 16:08:35 -07:00
mrmeku 6959b3f807
fix: coreutils download path for darwin_amd64 (#853)
* fix: coreutils download path for darwin_amd64

* fixup

---------

Co-authored-by: Greg Magolan <greg@aspect.dev>
2024-05-23 13:12:36 -07:00
Greg Magolan 474e680cad
ci: green up rbe on main (#847) 2024-05-14 07:44:33 -07:00
Greg Magolan e11bd38403
chore: tidy in MODULE.bazel file (#846) 2024-05-14 00:17:27 -07:00
Greg Magolan ffc5a7bfa1
chore: align ci patterns (#843) 2024-05-13 23:51:10 -07:00
Greg Magolan 155e3f250e
chore: bump buildifier, go and gazelle deps (#845) 2024-05-13 23:30:19 -07:00
Greg Magolan 7c958d665f
ci: green up main (#844) 2024-05-13 23:20:39 -07:00
Greg Magolan c6c9426918
chore: bump to Bazel 7.1.2 (#842) 2024-05-13 21:28:28 -07:00
Greg Magolan a704c2608b
chore: run buildifier to green up main (#841) 2024-05-13 20:00:42 -07:00
Malte Poll 1697a3275b
fix: coreutils toolchain: Use statically linked linux amd64 variant (#706)
* coreutils toolchain: Use statically linked linux amd64 variant

Uutils has a musl release artifact for linux amd64.
In the future, it should probably also be possible to add a
aarch64 musl toolchain. At the moment, this is not an upstream release
artifact.

* coreutils toolchain: temporarily add back old darwin variant

On release 0.0.26 of uutils/coreutils, the darwin x86_64 binary is missing.
Also, any releases between 0.0.23 and 0.0.26 are missing binary artifacts.
Downgrade coreutils toolchain on darwin x86_64 for now.

https://github.com/uutils/coreutils/releases/tag/0.0.26
2024-05-08 07:06:12 -07:00
Alex Eagle b15dc31a81
fix(tar): handle spaces in input filenames (#835) 2024-05-07 17:52:35 -07:00
Jordan Rodgers d8d22cbf77
fix: only check for blank space between status entries in expand_template (#834)
* only check for blank space between status entries in expand_template

* chore: update tool integrity

---------

Co-authored-by: Alex Eagle <alex@aspect.dev>
2024-05-06 13:29:56 -07:00
Sahin Yort fdf3be1c85
fix: register @zstd_toolchains//:all (#832) 2024-05-04 08:15:20 -07:00
Sahin Yort d1d063f3e5
feat: introduce zstd toolchain (#831) 2024-05-03 16:12:56 -07:00
Alex Eagle 977f27f7a0
feat(tar): add ergonomic way to strip_prefix (#829) 2024-05-01 12:36:39 -07:00
Greg Magolan c0607f67ca
chore: upgrade to Aspect Workflows 5.10.0-rc0 (#828) 2024-04-29 16:28:09 -07:00
Alex Eagle 31e6c76b7d
refactor: update conventional-commits.yml (#824)
* refactor: update conventional-commits.yml

Ensure that our workflow runs for PRs that originate from an untrusted fork.
See https://github.com/amannn/action-semantic-pull-request#event-triggers

* Update conventional-commits.yml
2024-04-29 06:11:29 -07:00
Greg Magolan 41413388da
chore: add bazel test support to javascript --config=debug preset (#825) 2024-04-25 16:33:16 -07:00
Alex Eagle 223b278735
ci: enforce PR titles are semantic (#823) 2024-04-24 14:54:31 -07:00
Greg Magolan 8d789e71c4
chore: upgrade to Aspect Workflows 5.10.0-alpha.10 (#822) 2024-04-24 14:12:33 -07:00
Greg Magolan c329eced6f
chore: upgrade to Aspect Workflows 5.10.0-alpha.9 (#821) 2024-04-22 20:00:09 -07:00
Jordan Rodgers 8c96b0eeb3
support spaces in status (#820)
* support spaces in status

* chore: update integrity hashes of go binaries

---------

Co-authored-by: Alex Eagle <alex@aspect.dev>
2024-04-22 13:46:47 -07:00
Greg Magolan 5cc1a3a1be
chore: bump to bsdtar-prebuilt 3.7.2-1 binaries for linux and darwin (#819) 2024-04-20 15:34:39 -07:00
Derek Cormier f07d85d217
chore: upgrade Aspect Workflows to 5.10.0-alpha.8 (#817) 2024-04-19 17:53:29 -07:00
Derek Cormier a192833c30
chore: upgrade Aspect Workflows to 5.10.0-alpha.6 (#816) 2024-04-16 03:53:00 -07:00
Derek Cormier 9a8a4408e9
chore: upgrade Aspect Workflows to 5.10.0-alpha.5 (#815) 2024-04-11 17:02:38 -07:00
Thomas Lam faaada2eaa
feat: add platform_transition_test (#770)
* Add platform_transition_test

Signed-off-by: Thomas Lam <thomaslam@canva.com>

* Set target platform constraints for tests

Signed-off-by: Thomas Lam <thomaslam@canva.com>

* Update docs

Signed-off-by: Thomas Lam <thomaslam@canva.com>

---------

Signed-off-by: Thomas Lam <thomaslam@canva.com>
2024-04-03 14:42:07 -07:00
Greg Magolan 7716549ab9
feat: export utils from //lib:utils.bzl to match repo_utils and platform_utils (#810) 2024-04-03 14:00:44 -07:00
Greg Magolan abf56a6454
feat: add get_home_directory to repo_utils (#809) 2024-04-03 13:53:18 -07:00
Greg Magolan 41a9295f07
feat: add //lib:enable_runfiles config_setting (#807) 2024-04-01 07:27:38 -07:00
Alex Eagle f4f588f4ea
Use statically-linked bsdtar on all platforms (#804)
* [tar] Switch to statically linked binaries

* chore: don't use bsdtar for extract yet

* chore: add dzbarsky integrity hashes

* Upgrade to 3.7.2.bcr.2 (#806)

* chore: replace URLs with aspect-build fork

---------

Co-authored-by: David Zbarsky <dzbarsky@gmail.com>
2024-03-29 11:35:56 -07:00
Alex Eagle 7bfc21bc93 Update README.md
Fix syntax goof that broke a link
2024-03-28 22:56:17 -07:00
Greg Magolan a8d0ff629b
chore: upgrade to Aspect Workflows 5.9.24 (#803) 2024-03-28 01:14:00 -04:00
Greg Magolan 06dc9ce4bf
chore: upgrade to Aspect Workflows 5.9.24 (#801) 2024-03-27 23:00:26 -04:00
Joy Gao 624e8acac5
clean rm of copied dirs and files (#799) 2024-03-27 10:02:47 -04:00
Alex Eagle fea9515087
feat: don't require 'out' on expand_template (#798)
In a lot of cases the name of the generated file is unimportant.
For example in https://github.com/bazel-contrib/rules_oci/pull/534 I wanted to remove 'out' in a bunch of these calls.
2024-03-26 16:57:16 -07:00
Alex Eagle 0fc838839c
feat: add a helper for rules to work with resource_sets (#792)
* feat: add a helper for rules to work with resource_sets

This API is poorly designed and needs some help to let rule users pick a value in cases that they aren't also the rule author

* chore: add some cpu resource_set values as well
2024-03-18 15:38:24 -07:00
Greg Magolan 266edb2439
chore: stash output of vmstat in artifacts (#793) 2024-03-15 19:03:18 -07:00
Greg Magolan 6599b03e75
chore: switch to new Aspect Workflows OSS staging deployment (#791) 2024-03-14 18:03:26 -07:00
Greg Magolan 54a6cb1399
chore: upgrade to Aspect Workflows 5.9.22 (#787) 2024-03-10 16:09:08 -07:00