[builder] Enhance fuchsia_builder_group.
Autogenerate a ":<label>.test_all" target that will run through all of
the test groups sequentially.
Although this use-case won't typically extend to hardware test groups,
this is useful for pigweed's infrastructure, since it's not reasonable
to hard-code very test group target when new ones are added.
(eg: add asan/ubsan variants of `:tests_qemu`).
Also expose the builder manifest via OutputGroupInfo, since accessing
the manifest file via providers using cquery is more clunky.
Bug: 321267610
Change-Id: If5a6827d76cd4b5dd66a6d5e5d2e00ceb0673305
Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia-infra-bazel-rules/+/1018412
Reviewed-by: Jerry Belton <jcecil@google.com>
Fuchsia-Auto-Submit: Darren Chan <chandarren@google.com>
Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com>
5 files changed