| load("@bazel_tools//tools/build_defs/pkg:pkg.bzl", "pkg_tar", "pkg_deb") |
| load("//bzl:rules.bzl", "copy_go_binary") |
| |
| 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", "//tools: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", "//tools:secretstore"], |
| ) |
| |