mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-20 03:50:24 +00:00
42 lines
767 B
Python
42 lines
767 B
Python
package(default_visibility = ["//visibility:public"])
|
|
|
|
load("@io_kubernetes_build//defs:pkg.bzl", "pkg_tar")
|
|
|
|
filegroup(
|
|
name = "addon-srcs",
|
|
srcs = glob(
|
|
[
|
|
"**/*.json",
|
|
"**/*.yaml",
|
|
"**/*.yaml.in",
|
|
],
|
|
exclude = ["**/*demo*/**"],
|
|
),
|
|
)
|
|
|
|
pkg_tar(
|
|
name = "addons",
|
|
srcs = [
|
|
":addon-srcs",
|
|
],
|
|
extension = "tar.gz",
|
|
mode = "0644",
|
|
strip_prefix = ".",
|
|
)
|
|
|
|
filegroup(
|
|
name = "package-srcs",
|
|
srcs = glob(["**"]),
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
filegroup(
|
|
name = "all-srcs",
|
|
srcs = [
|
|
":package-srcs",
|
|
"//cluster/addons/fluentd-elasticsearch/es-image:all-srcs",
|
|
],
|
|
tags = ["automanaged"],
|
|
)
|