2
0
Fork 0
mirror of https://github.com/bazel-contrib/bazel-lib synced 2024-11-27 17:43:27 +00:00
Commit graph

241 commits

Author SHA1 Message Date
Matt Mackay 9d531ca646
feat: add test_suite containing all tests from write_source_files (#256) 2022-10-05 09:01:50 -07:00
Thulio Ferraz Assis 951e1ec9ad fix: update doc
Signed-off-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
2022-09-29 09:54:09 -07:00
Thulio Ferraz Assis e609c85efe Update stamping.bzl 2022-09-29 09:54:09 -07:00
Greg Magolan 6f37a3808b
fix: isolate bzl_libary targets for //lib/private:*.bzl i //lib/private/docs package so that platform_utils dep on @local_config_platform//:constraints doesn't leak unless downstream consumer is generating docs (#254) 2022-09-27 09:59:19 -07:00
Jason Bedard 091b6adc79
chore(deps): remove bazel-integration-testing (#253) 2022-09-26 10:03:41 -07:00
renovate[bot] 4da6ae7fd3
chore(deps): update dependency io_bazel_rules_go to v0.34.0 (#191)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-23 10:00:29 -07:00
renovate[bot] dc008af088
chore(deps): update dependency bazel to v5.3.1 (#225)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-22 17:41:59 -07:00
Jason Bedard 475015bee0
refactor: give internal impl methods meaningful names (#252) 2022-09-20 15:23:56 -07:00
Derek Cormier fa7fdc177e fix: use person as release author 2022-09-19 13:21:36 -07:00
Matt Mackay 2d78989553
refactor: move Aspect Workflows configuration files to new location (#249) 2022-09-19 11:58:04 -04:00
Derek Cormier 20ac1c6e69
chore: upgrade skylib (#248) 2022-09-19 08:06:28 -07:00
Greg Magolan 8e230b0721
feat: add bazel_version value to host_repo repository rule (#246) 2022-09-16 11:51:48 -07:00
Alex Eagle 0450c0c652 Update release.yml
Don't use my PAT, instead use the default credentials like our other rulesets do.
2022-09-14 12:10:21 -07:00
Greg Magolan 65e852f774
fix: don't generate @aspect_bazel_lib_local_config_platform repository as it is a leaky abstraction for rule consumers and not just rule authors (#243) 2022-09-13 21:58:08 -07:00
Greg Magolan be5c9d06bc
fix: fix bzl_library breakage created with load from @local_config_platform in copy rules (#242) 2022-09-13 20:37:24 -07:00
Chuck Grindel e376f9a733
Add shlib/lib/assertions.sh and related tests (#237)
* Add shlib assertions

* Remove obsolete code

* Fix shellcheck warnings

* Switch to explicit -o nounset

* Switched boolean shortcuts to if-then statements

* Review suggestion
2022-09-13 10:35:47 -07:00
Greg Magolan f4b2b1b3b6 fix: disable e2e/bzlmod with RBE temporarily 2022-09-12 20:52:13 -07:00
Greg Magolan bbfb74c8e6
fix: fix host platform detection on all copy actions which always run locally (#241) 2022-09-12 20:45:48 -07:00
Derek Cormier aa42a924fe docs: add stamping to readme index 2022-09-12 19:24:53 -07:00
Jason Bedard 803dbf815e
copy_to_directory performance improvements (#236)
* reduce use of depset.to_list()

* avoid copying arrays when invoking copy_file

* fixup! reduce use of depset.to_list()

* fixup! reduce use of depset.to_list()
2022-09-12 18:01:25 -07:00
Derek Cormier 47be61d96b chore: update MODULE.bazel to use register_toolchains 2022-09-12 16:59:08 -07:00
Derek Cormier c86f355dd0 ci: prepare bazel-lib for publish-to-bcr app 2022-09-10 12:30:53 -07:00
John Firebaugh 21216126b6 Add TODO comment in the windows implementation 2022-09-07 13:53:08 -07:00
John Firebaugh 77137f4020 Add JUnit XML output for diff_test 2022-09-07 13:53:08 -07:00
Alex Eagle eecda0e2d8 ci: exclude rbe jobs if no engflow secret 2022-09-01 16:48:59 -07:00
Alex Eagle 3b9afd5807 Revert "Run PR workflow in the main repo, not the fork"
This reverts commit 64b8541ad6.
2022-09-01 12:30:21 -07:00
Alex Eagle 64b8541ad6
Run PR workflow in the main repo, not the fork 2022-08-31 12:55:39 -07:00
David Zbarsky 5edb10a0d8 Cleanup diff_test and copy_file implementations 2022-08-31 12:12:47 -07:00
Alex Eagle b5653b6037 fix: TARGET make variable expansion: no extra leading @
Part of https://github.com/aspect-build/rules_js/issues/406
2022-08-29 07:45:00 -07:00
Greg Magolan 9efedb72c0 fix: handle the ** root_path case correctly in copy_to_directory 2022-08-25 21:25:13 -07:00
Greg Magolan af057bd509
chore: don't fail fast on GitHub actions matrix (#226) 2022-08-25 20:44:07 -07:00
Greg Magolan cbec12b286 chore: remote out-of-date reference to DefaultOutputPathInfo in write_source_files error message 2022-08-25 20:25:21 -07:00
Alex Eagle f688d17cfb feat: jq supports stamping
Fixes #223
2022-08-22 12:39:54 -07:00
Alex Eagle de5274835b refactor: tighten up key management code 2022-08-22 12:39:54 -07:00
Alex Eagle 896ee0c1f0 chore: set test timeouts to short
I recently enabled --test_verbose_timeout_warnings and that caused a bunch of warnings in our build.
This fixes it, and adds a utility for us or others to make test-wrapping macros that set to short by default.
2022-08-20 13:58:43 -07:00
Derek Cormier 889e736476 fix: fix a bug where the same file couldn't be copied to the same output
dir twice on Windows
2022-08-20 11:31:56 -07:00
Derek Cormier cd6c2f63ee fix: broken gh actions cache 2022-08-19 08:42:26 -07:00
Alex Eagle 15ec78eb73 ci: enable engflow RBE for github actions 2022-08-19 08:42:00 -07:00
Greg Magolan 3e20e6c0b1 fix: fix issue in copy_to_directory where root_path is the full path of a directory input 2022-08-18 21:14:12 -07:00
Twan Koolen e446a3d8e7 Add failing test case demonstrating issue with root_paths in the presence of globs in dependencies. 2022-08-18 21:14:12 -07:00
renovate[bot] e3f194d413 chore(deps): update continuation orb to v0.3.1 2022-08-18 14:35:06 -07:00
Matt Mackay 1b448481b7 update circle config 2022-08-18 11:55:15 -07:00
Alex Eagle 21c93d24fa Updated config.yml 2022-08-18 11:55:15 -07:00
Alex Eagle ff133153bc Updated config.yml 2022-08-18 11:55:15 -07:00
Alex Eagle 19f0aed99b Updated config.yml 2022-08-18 11:55:15 -07:00
Alex Eagle 2e41cd7377 chore: switch to aspectci 2022-08-18 11:55:15 -07:00
Alex Eagle c062200b26 ci: add circleci. 2022-08-18 11:55:15 -07:00
Derek Cormier c1e7aa1181 fix: fix a bug where multiple files were not written at the root package 2022-08-16 11:20:55 -07:00
Greg Magolan c867e37856
fix: fix make var expansion in expand_template (#213) 2022-08-11 19:30:45 -07:00
Greg Magolan 3caff577b9
fix: handle copy_to_directory '.' and './**' special patterns correctly when in the root package (#212) 2022-08-11 16:25:51 -07:00