Files
kubernetes/test/conformance/behaviors/BUILD
Aaron Crickenberger 85724cf2c3 behaviors: fix kubeconform link
kubeconform was choking on a typo in the description field, so I fixed
the typo while adding friendlier logging to tell me which file was
invalid

I got curious why tests didn't catch this, and it turns out kubeconform
and the behavior tests use different codepaths to load and validate. So
I merged them together
2020-06-03 16:59:27 -07:00

37 lines
857 B
Python

load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "go_default_library",
srcs = [
"behaviors.go",
"types.go",
],
importpath = "k8s.io/kubernetes/test/conformance/behaviors",
visibility = ["//visibility:public"],
deps = [
"//staging/src/k8s.io/apimachinery/pkg/util/errors:go_default_library",
"//vendor/gopkg.in/yaml.v2:go_default_library",
],
)
go_test(
name = "go_default_test",
srcs = ["behaviors_test.go"],
data = glob(["*/*.yaml"]),
embed = [":go_default_library"],
)
filegroup(
name = "package-srcs",
srcs = glob(["**"]),
tags = ["automanaged"],
visibility = ["//visibility:private"],
)
filegroup(
name = "all-srcs",
srcs = [":package-srcs"],
tags = ["automanaged"],
visibility = ["//visibility:public"],
)