2017-02-01 00:45:59 +00:00
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
|
2017-02-03 13:41:32 +00:00
|
|
|
load("@bazel_tools//tools/build_defs/pkg:pkg.bzl", "pkg_tar")
|
|
|
|
|
2017-02-01 00:45:59 +00:00
|
|
|
licenses(["notice"])
|
|
|
|
|
|
|
|
filegroup(
|
|
|
|
name = "package-srcs",
|
|
|
|
srcs = glob(["**"]),
|
|
|
|
tags = ["automanaged"],
|
|
|
|
visibility = ["//visibility:private"],
|
|
|
|
)
|
|
|
|
|
|
|
|
filegroup(
|
|
|
|
name = "all-srcs",
|
|
|
|
srcs = [
|
|
|
|
":package-srcs",
|
|
|
|
"//cluster/addons:all-srcs",
|
2017-02-03 13:41:32 +00:00
|
|
|
"//cluster/gce:all-srcs",
|
|
|
|
"//cluster/saltbase:all-srcs",
|
2017-02-01 00:45:59 +00:00
|
|
|
],
|
|
|
|
tags = ["automanaged"],
|
|
|
|
)
|
2017-02-03 13:41:32 +00:00
|
|
|
|
|
|
|
# All of the manifests that are expected to be in a "gci-trusty"
|
|
|
|
# subdir of the manifests tarball.
|
|
|
|
pkg_tar(
|
|
|
|
name = "_manifests-gci-trusty",
|
|
|
|
package_dir = "gci-trusty",
|
|
|
|
visibility = ["//visibility:private"],
|
|
|
|
deps = [
|
|
|
|
"//cluster/addons",
|
|
|
|
"//cluster/gce:gci-trusty-manifests",
|
|
|
|
"//cluster/saltbase:gci-trusty-salt-manifests",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
pkg_tar(
|
|
|
|
name = "manifests",
|
|
|
|
mode = "0644",
|
|
|
|
package_dir = "kubernetes",
|
|
|
|
deps = [
|
|
|
|
":_manifests-gci-trusty",
|
|
|
|
"//cluster/saltbase:salt-manifests",
|
|
|
|
],
|
|
|
|
)
|