PrintPerfData is called at e2e node tests and it depends on e2elog and e2emetrics. This moves the function to the place which calls the function for removing unnecessary dependencies from e2e node subpackage.
27 lines
632 B
Python
27 lines
632 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = ["perf.go"],
|
|
importpath = "k8s.io/kubernetes/test/e2e/framework/perf",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//test/e2e/framework/kubelet:go_default_library",
|
|
"//test/e2e/perftype: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"],
|
|
)
|