github.com/abayer/test-infra@v0.0.5/mungegithub/BUILD.bazel (about) 1 package(default_visibility = ["//visibility:public"]) 2 3 load( 4 "@io_bazel_rules_go//go:def.bzl", 5 "go_binary", 6 "go_library", 7 ) 8 9 go_binary( 10 name = "mungegithub", 11 embed = [":go_default_library"], 12 pure = "on", 13 ) 14 15 go_library( 16 name = "go_default_library", 17 srcs = ["mungegithub.go"], 18 importpath = "k8s.io/test-infra/mungegithub", 19 deps = [ 20 "//mungegithub/features:go_default_library", 21 "//mungegithub/github:go_default_library", 22 "//mungegithub/mungeopts:go_default_library", 23 "//mungegithub/mungers:go_default_library", 24 "//mungegithub/options:go_default_library", 25 "//mungegithub/reports:go_default_library", 26 "//vendor/github.com/golang/glog:go_default_library", 27 "//vendor/github.com/spf13/cobra:go_default_library", 28 "//vendor/k8s.io/apimachinery/pkg/util/sets:go_default_library", 29 "//vendor/k8s.io/apiserver/pkg/util/flag:go_default_library", 30 ], 31 ) 32 33 filegroup( 34 name = "package-srcs", 35 srcs = glob(["**"]), 36 tags = ["automanaged"], 37 visibility = ["//visibility:private"], 38 ) 39 40 filegroup( 41 name = "all-srcs", 42 srcs = [ 43 ":package-srcs", 44 "//mungegithub/example-one-off:all-srcs", 45 "//mungegithub/features:all-srcs", 46 "//mungegithub/github:all-srcs", 47 "//mungegithub/mungeopts:all-srcs", 48 "//mungegithub/mungers:all-srcs", 49 "//mungegithub/options:all-srcs", 50 "//mungegithub/reports:all-srcs", 51 "//mungegithub/sharedmux:all-srcs", 52 ], 53 tags = ["automanaged"], 54 ) 55 56 filegroup( 57 name = "configs", 58 srcs = glob(["*.txt"]), 59 visibility = ["//visibility:public"], 60 ) 61 62 filegroup( 63 name = "configmaps", 64 srcs = glob(["**/configmap.yaml"]), 65 visibility = ["//visibility:public"], 66 )