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

     1  package(default_visibility = ["//visibility:public"])
     2  
     3  load(
     4      "@io_bazel_rules_go//go:def.bzl",
     5      "go_library",
     6      "go_test",
     7  )
     8  
     9  go_library(
    10      name = "go_default_library",
    11      srcs = [
    12          "author_filter_wrapper.go",
    13          "author_logger_wrapper.go",
    14          "bundle.go",
    15          "comment_counter.go",
    16          "count.go",
    17          "dummy.go",
    18          "event_counter.go",
    19          "events.go",
    20          "fake_comment_wrapper.go",
    21          "fake_open_wrapper.go",
    22          "multiplexer_wrapper.go",
    23          "plugin.go",
    24          "state.go",
    25          "states.go",
    26          "type_filter_wrapper.go",
    27      ],
    28      importpath = "k8s.io/test-infra/velodrome/transform/plugins",
    29      deps = [
    30          "//velodrome/sql:go_default_library",
    31          "//vendor/github.com/spf13/cobra:go_default_library",
    32      ],
    33  )
    34  
    35  filegroup(
    36      name = "configs",
    37      srcs = glob(["*.yaml"]),
    38  )
    39  
    40  filegroup(
    41      name = "package-srcs",
    42      srcs = glob(["**"]),
    43      tags = ["automanaged"],
    44      visibility = ["//visibility:private"],
    45  )
    46  
    47  filegroup(
    48      name = "all-srcs",
    49      srcs = [":package-srcs"],
    50      tags = ["automanaged"],
    51  )
    52  
    53  go_test(
    54      name = "go_default_test",
    55      srcs = [
    56          "author_filter_wrapper_test.go",
    57          "author_logger_wrapper_test.go",
    58          "bundle_test.go",
    59          "comment_counter_test.go",
    60          "event_counter_test.go",
    61          "events_test.go",
    62          "fake_comment_wrapper_test.go",
    63          "fake_open_wrapper_test.go",
    64          "multiplexer_wrapper_test.go",
    65          "plugin_mock_test.go",
    66          "state_test.go",
    67          "states_test.go",
    68          "type_filter_wrapper_test.go",
    69      ],
    70      embed = [":go_default_library"],
    71      deps = [
    72          "//velodrome/sql:go_default_library",
    73          "//vendor/github.com/golang/mock/gomock:go_default_library",
    74      ],
    75  )