blob: 4b3eb1bf58f9309ce15dbf9b7cba339ada589f75 [file] [log] [blame]
load("@bazel_tools//tools/build_defs/pkg:pkg.bzl", "pkg_tar", "pkg_deb")
load("@py_deps//:requirements.bzl", "requirement")
load("//bzl:rules.bzl", "copy_go_binary")
py_library(
name = "secretstore_lib",
srcs = ["secretstore.py"],
visibility = ["//visibility:public"],
deps = [
requirement("future"),
],
)
py_binary(
name = "secretstore",
srcs = ["secretstore.py"],
visibility = ["//visibility:public"],
deps = [
requirement("future"),
],
)
py_binary(
name = "pass",
srcs = ["pass.py"],
visibility = ["//visibility:public"],
)
copy_go_binary(
name = "kubectl",
src = "@io_k8s_kubernetes//cmd/kubectl:kubectl",
visibility = ["//visibility:public"],
)
copy_go_binary(
name = "kubecfg",
src = "@com_github_ksonnet_kubecfg//:kubecfg",
visibility = ["//visibility:public"],
)
copy_go_binary(
name = "calicoctl.bin",
src = "@com_github_projectcalico_calicoctl//calicoctl:calicoctl",
visibility = ["//visibility:public"],
)
sh_binary(
name = "calicoctl",
srcs = ["calicoctl.sh"],
data = [":calicoctl.bin", ":secretstore"],
)
copy_go_binary(
name = "cfssl",
src = "@com_github_cloudflare_cfssl//cmd/cfssl:cfssl",
visibility = ["//visibility:public"],
)
copy_go_binary(
name = "nixops.bin",
src = "@nixops//:bin",
visibility = ["//visibility:public"],
)
sh_binary(
name = "nixops",
srcs = ["nixops.sh"],
data = [":nixops.bin", ":secretstore"],
)