mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-15 02:40:23 +00:00
39 lines
1.3 KiB
Python
39 lines
1.3 KiB
Python
|
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
||
|
|
||
|
go_test(
|
||
|
name = "go_default_test",
|
||
|
srcs = [
|
||
|
"main_test.go",
|
||
|
"watch_restart_test.go",
|
||
|
],
|
||
|
deps = [
|
||
|
"//pkg/api/testapi:go_default_library",
|
||
|
"//staging/src/k8s.io/api/core/v1:go_default_library",
|
||
|
"//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
|
||
|
"//staging/src/k8s.io/apimachinery/pkg/fields:go_default_library",
|
||
|
"//staging/src/k8s.io/apimachinery/pkg/runtime:go_default_library",
|
||
|
"//staging/src/k8s.io/apimachinery/pkg/types:go_default_library",
|
||
|
"//staging/src/k8s.io/apimachinery/pkg/util/wait:go_default_library",
|
||
|
"//staging/src/k8s.io/apimachinery/pkg/watch:go_default_library",
|
||
|
"//staging/src/k8s.io/client-go/kubernetes:go_default_library",
|
||
|
"//staging/src/k8s.io/client-go/rest:go_default_library",
|
||
|
"//staging/src/k8s.io/client-go/tools/cache:go_default_library",
|
||
|
"//staging/src/k8s.io/client-go/tools/watch:go_default_library",
|
||
|
"//test/integration/framework: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"],
|
||
|
)
|