mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-23 23:00:19 +00:00
63 lines
1.3 KiB
Python
63 lines
1.3 KiB
Python
package(default_visibility = ["//visibility:public"])
|
|
|
|
load("@io_kubernetes_build//defs:pkg.bzl", "pkg_tar")
|
|
|
|
filegroup(
|
|
name = "package-srcs",
|
|
srcs = glob(["**"]),
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
filegroup(
|
|
name = "all-srcs",
|
|
srcs = [
|
|
":package-srcs",
|
|
"//cluster/addons:all-srcs",
|
|
"//cluster/gce:all-srcs",
|
|
"//cluster/images/etcd-version-monitor:all-srcs",
|
|
"//cluster/images/etcd/attachlease:all-srcs",
|
|
"//cluster/images/etcd/rollback:all-srcs",
|
|
"//cluster/images/hyperkube:all-srcs",
|
|
"//cluster/images/kubemark:all-srcs",
|
|
],
|
|
tags = ["automanaged"],
|
|
)
|
|
|
|
pkg_tar(
|
|
name = "manifests",
|
|
mode = "0644",
|
|
package_dir = "kubernetes/gci-trusty",
|
|
deps = [
|
|
"//cluster/addons",
|
|
"//cluster/gce:gce-master-manifests",
|
|
"//cluster/gce:gci-trusty-manifests",
|
|
"//cluster/gce/addons",
|
|
],
|
|
)
|
|
|
|
# These tests just verify that bash can interpret the file.
|
|
sh_test(
|
|
name = "common_test",
|
|
srcs = ["common.sh"],
|
|
deps = [
|
|
"//hack/lib",
|
|
],
|
|
)
|
|
|
|
sh_test(
|
|
name = "clientbin_test",
|
|
srcs = ["clientbin.sh"],
|
|
deps = [
|
|
"//hack/lib",
|
|
],
|
|
)
|
|
|
|
sh_test(
|
|
name = "kube-util_test",
|
|
srcs = ["kube-util.sh"],
|
|
deps = [
|
|
"//hack/lib",
|
|
],
|
|
)
|