[build] Add top-level :infra target
Add a fuchsia_builder_group() target which can be invoked by the
infrastructure.
Bug: 112403
Change-Id: I7c2155a1307afdb120f2e9bb72b04ccc292a8fe1
Reviewed-on: https://fuchsia-review.googlesource.com/c/drivers/misc/google/backlight/+/796742
Fuchsia-Auto-Submit: Anthony Fandrianto <atyfto@google.com>
Reviewed-by: Jiaming Li <lijiaming@google.com>
Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com>
diff --git a/BUILD.bazel b/BUILD.bazel
new file mode 100644
index 0000000..b6b8cad
--- /dev/null
+++ b/BUILD.bazel
@@ -0,0 +1,20 @@
+# Copyright 2023 The Fuchsia Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+load(
+ "@fuchsia_infra//infra:infra.bzl",
+ "fuchsia_builder_group",
+)
+
+fuchsia_builder_group(
+ name = "infra",
+ build_only = [
+ "//driver:pkg",
+ "//driver:test_pkg",
+ ],
+ cipd_uploads = [
+ "//driver:artifact_cipd_release",
+ "//driver:debug_symbol_cipd_release",
+ ],
+)
diff --git a/driver/BUILD.bazel b/driver/BUILD.bazel
index ebc0ed5..a7e0d8e 100644
--- a/driver/BUILD.bazel
+++ b/driver/BUILD.bazel
@@ -121,6 +121,7 @@
deps = [
":pkg",
],
+ visibility = ["//visibility:public"],
)
fuchsia_debug_symbol_cipd_release(
@@ -128,4 +129,5 @@
deps = [
":pkg",
],
+ visibility = ["//visibility:public"],
)