2018-01-09 18:57:14 +00:00
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
|
2018-03-06 22:33:18 +00:00
|
|
|
load("@io_kubernetes_build//defs:pkg.bzl", "pkg_tar")
|
2018-01-09 18:57:14 +00:00
|
|
|
|
|
|
|
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(
|
2018-03-06 22:33:18 +00:00
|
|
|
name = "manifests",
|
|
|
|
mode = "0644",
|
|
|
|
package_dir = "kubernetes/gci-trusty",
|
2018-01-09 18:57:14 +00:00
|
|
|
deps = [
|
|
|
|
"//cluster/addons",
|
2018-03-06 22:33:18 +00:00
|
|
|
"//cluster/gce:gce-master-manifests",
|
2018-01-09 18:57:14 +00:00
|
|
|
"//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",
|
|
|
|
],
|
|
|
|
)
|