forked from kubernetes/kubernetes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD
45 lines (40 loc) · 1.39 KB
/
BUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
package(default_visibility = ["//visibility:public"])
licenses(["notice"])
load("@bazel_tools//tools/build_defs/pkg:pkg.bzl", "pkg_tar")
filegroup(
name = "package-srcs",
srcs = glob(["**"]),
tags = ["automanaged"],
visibility = ["//visibility:private"],
)
filegroup(
name = "all-srcs",
srcs = [
":package-srcs",
"//federation/apis/core:all-srcs",
"//federation/apis/federation:all-srcs",
"//federation/client/cache:all-srcs",
"//federation/client/clientset_generated/federation_clientset:all-srcs",
"//federation/client/clientset_generated/federation_internalclientset:all-srcs",
"//federation/cluster:all-srcs",
"//federation/cmd/federation-apiserver:all-srcs",
"//federation/cmd/federation-controller-manager:all-srcs",
"//federation/cmd/genfeddocs:all-srcs",
"//federation/cmd/kubefed:all-srcs",
"//federation/develop:all-srcs",
"//federation/pkg/dnsprovider:all-srcs",
"//federation/pkg/federatedtypes:all-srcs",
"//federation/pkg/federation-controller:all-srcs",
"//federation/pkg/kubefed:all-srcs",
"//federation/registry/cluster:all-srcs",
],
tags = ["automanaged"],
)
pkg_tar(
name = "release",
files = glob([
"deploy/**",
"manifests/**",
]) + ["//federation/cluster:all-srcs"],
package_dir = "federation",
)