github.com/jenkins-x/test-infra@v0.0.7/prow/config/jobtests/BUILD.bazel (about) 1 load("@io_bazel_rules_go//go:def.bzl", "go_test") 2 3 go_test( 4 name = "go_default_test", 5 srcs = ["job_config_test.go"], 6 data = [ 7 "//config:prowjobs", 8 "//jobs", 9 "//prow:configs", 10 ], 11 deps = [ 12 "//prow/config:go_default_library", 13 "//vendor/k8s.io/api/core/v1:go_default_library", 14 "//vendor/k8s.io/apimachinery/pkg/util/sets:go_default_library", 15 ], 16 ) 17 18 filegroup( 19 name = "package-srcs", 20 srcs = glob(["**"]), 21 tags = ["automanaged"], 22 visibility = ["//visibility:private"], 23 ) 24 25 filegroup( 26 name = "all-srcs", 27 srcs = [":package-srcs"], 28 tags = ["automanaged"], 29 visibility = ["//visibility:public"], 30 )