github.com/abayer/test-infra@v0.0.5/velodrome/BUILD.bazel (about)

     1  package(default_visibility = ["//visibility:public"])
     2  
     3  py_test(
     4      name = "config_test",
     5      srcs = ["config.py"],
     6      data = [
     7          ":configs",
     8      ],
     9      main = "config.py",
    10      deps = [
    11          "@yaml",
    12      ],
    13  )
    14  
    15  filegroup(
    16      name = "configs",
    17      srcs = glob(["**/*.yaml"]) + [
    18          "//velodrome/fetcher:configs",
    19          "//velodrome/sql:configs",
    20          "//velodrome/token-counter:configs",
    21          "//velodrome/transform:configs",
    22      ],
    23  )
    24  
    25  filegroup(
    26      name = "package-srcs",
    27      srcs = glob(["**"]),
    28      tags = ["automanaged"],
    29      visibility = ["//visibility:private"],
    30  )
    31  
    32  filegroup(
    33      name = "all-srcs",
    34      srcs = [
    35          ":package-srcs",
    36          "//velodrome/fetcher:all-srcs",
    37          "//velodrome/sql:all-srcs",
    38          "//velodrome/token-counter:all-srcs",
    39          "//velodrome/transform:all-srcs",
    40      ],
    41  )