Alex Eagle
fa583181ff
chore: stable job name for branch protection ( #883 )
...
adopts https://github.com/bazel-contrib/rules-template/pull/124
2024-09-17 17:55:40 -07:00
Alex Eagle
2f65c8c0c7
chore: update git urls ( #926 )
...
This repository was donated to the Linux Foundation and is now in the bazel-contrib GH org
2024-09-17 17:05:35 -07:00
Greg Magolan
fb0677ad57
chore: cleanup before bazel-contrib handoff ( #918 )
...
* chore: clenaup before bazel-contrib handoff
* chore: apply lint fixes
---------
Co-authored-by: Alex Eagle <alex@aspect.dev>
2024-09-02 09:32:38 -07:00
Greg Magolan
edaafd2ca5
chore: now testing on Aspect Workflows RBE ( #920 )
2024-08-26 22:16:09 -07:00
Diogo Teles Sant'Anna
07b98dc477
fix: github workflow vulnerable to script injection ( #899 )
...
Signed-off-by: Diogo Teles Sant'Anna <diogoteles@google.com>
Co-authored-by: Alex Eagle <alex@aspect.dev>
2024-08-21 19:25:00 -04:00
Greg Magolan
11aacaf5df
chore: enable go, shell, yaml formatters and bazel run //:format ( #917 )
2024-08-20 11:56:40 -07:00
Greg Magolan
cccf5ac1b8
refactor: make root workspace bzlmod only ( #915 )
2024-08-20 14:20:51 -04:00
Greg Magolan
0e1f1e82c9
chore: bump to Bazel 7.3.1 ( #914 )
2024-08-20 13:37:52 -04: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
Greg Magolan
474e680cad
ci: green up rbe on main ( #847 )
2024-05-14 07:44:33 -07:00
Greg Magolan
ffc5a7bfa1
chore: align ci patterns ( #843 )
2024-05-13 23:51:10 -07:00
Greg Magolan
c6c9426918
chore: bump to Bazel 7.1.2 ( #842 )
2024-05-13 21:28:28 -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
Alex Eagle
223b278735
ci: enforce PR titles are semantic ( #823 )
2024-04-24 14:54:31 -07:00
Greg Magolan
d3f98c32ee
chore: fix GHA concurrency check to not apply to main branch ( #771 )
2024-02-29 13:45:10 -08:00
renovate[bot]
1747382401
chore(deps): update actions/github-script action to v7 ( #759 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-26 17:34:30 -08:00
renovate[bot]
81633f0c77
chore(deps): update actions/cache action to v4 ( #744 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-26 17:31:31 -08:00
Greg Magolan
d07ed55315
chore: cancel previous GHA from the same PR ( #745 )
2024-02-04 21:47:57 -08:00
Greg Magolan
5aaa785b96
chore: test against bazel 7.0.0 ( #713 )
2024-01-07 16:12:05 -08:00
Sahin Yort
33bc4443fd
fix: create windows launcher for bats ( #704 )
2023-12-21 14:27:21 -08:00
Greg Magolan
b1c342a96f
chore: bazel run //:format ( #682 )
2023-12-08 00:30:39 -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
5bd6e5fdd4
fix(ci): fix bzlmod issues and enable on ci ( #658 )
2023-11-15 15:07:03 -08:00
Greg Magolan
fe2d31870c
chore: green up Windows CI ( #643 )
2023-11-07 14:01:45 -08: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
a69b16bfcf
chore: update buildifier targets used by Aspect Workflows ( #629 )
2023-10-18 15:49:34 -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
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
Derek Cormier
20f1ac39e0
refactor: rework toolchain registration for WORKSPACE and bzlmod users ( #597 )
2023-10-10 12:16:13 -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
3a757c8a95
chore: drop Bazel 5 support for 2.0 ( #585 )
2023-10-05 14:18:42 -07:00
Derek Cormier
20480444e6
chore: run CI on 2.x branch ( #581 )
2023-10-05 12:35:31 -07:00
Alex Eagle
063e88cde3
fix(ci): don't run patch on windows ( #562 )
2023-09-29 14:21:49 -07:00
Alex Eagle
bc54655e71
ci: add assertion that bcr patches apply ( #556 )
2023-09-27 10:26:38 -07:00
Alex Eagle
9174085429
fix(ci): always build with -c opt ( #555 )
...
We no longer stamp our version anywhere since the Go tools must have deterministic hashes, so remove the --stamp setup
2023-09-27 09:56:35 -07:00
Alex Eagle
14d6c50fc5
chore: rules_go is a non-dev dep at HEAD ( #554 )
...
This ensures if you get a SHA of bazel-lib you build the tools/ from head
2023-09-27 09:01:51 -07:00
Sahin Yort
5ca9c8ff25
fix: macos sed ( #550 )
2023-09-25 13:13:49 -07:00
Sahin Yort
ef364b54b4
refactor: consume tools from source if unstamped ( #543 )
2023-09-24 15:06:10 -07:00
Sahin Yort
e3015cd8fa
refactor: cleanup e2e ( #542 )
2023-09-22 13:04:09 -07:00
Sahin Yort
719b8f33b0
refactor: add ability to test against tools from source ( #532 )
2023-09-21 15:12:46 -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
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
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
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
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
Jason Bedard
3008f91387
chore: disable bazel 5 tests on windows
2023-06-14 15:07:20 -07:00
Jason Bedard
4083648850
chore: disable bazel 7 on windows
2023-06-14 09:15:09 -07:00