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
Jason Bedard
7b382c9ff1
ci: enable buildifier check on ci
2023-06-13 16:28:17 -07:00
Jason Bedard
c4e601f244
ci: add bazel 7 prerelease tests ( #452 )
2023-06-13 16:26:33 -07:00
Alex Eagle
d13884f29d
chore: bump minimum Bazel version to 5.4.0
...
this was forced by a rules_go upgrade. We don't actually require all bazel-lib users to upgrade.
This does reduce our tested compatibility range a bit, but the important thing is we work with Bazel 5.x
2023-05-08 08:08:21 -07:00
Alex Eagle
e30284f2fa
chore: use config.yml to indicate releaser
...
We want to cleanup our GitHub tokens, and this repo is different from all others by historical accident.
2023-04-06 16:58:07 -07:00
Greg Magolan
f2bb1d1519
fix: windows CI ( #395 )
2023-03-12 02:36:10 +00:00
Greg Magolan
5faf59e8a6
chore: fix 'windows' pull request check; head_ref is the branch name while ref ends up being a generated GH actions branch name for the PR
2023-03-10 17:15:52 -08:00
Greg Magolan
8255da2d2c
chore: remove unnecessary call to register_coreutils_toolchains() in e2e/coreutils ( #393 )
2023-03-10 16:31:54 -08:00
Sahin Yort
e31867302e
chore: use coreutils hashsum ( #333 )
2023-03-10 20:37:57 +03:00
Greg Magolan
cb6e0c1626
build: add MacOS and Windows to CI for landed commits ( #371 )
2023-02-17 11:56:56 -08:00