blob: d26f6681220c7b1a18398325fe4f18d499900313 [file] [log] [blame]
Sergiusz Bazanski1663e0e2019-07-21 16:25:07 +02001load("@bazel_tools//tools/build_defs/pkg:pkg.bzl", "pkg_tar", "pkg_deb")
2load("//bzl:rules.bzl", "copy_go_binary")
3
4copy_go_binary(
5 name = "kubectl",
6 src = "@io_k8s_kubernetes//cmd/kubectl:kubectl",
7 visibility = ["//visibility:public"],
8)
9
10copy_go_binary(
11 name = "kubecfg",
Sergiusz Bazanskie5a956a2019-11-17 22:38:40 +010012 src = "@com_github_bitnami_kubecfg//:kubecfg",
Sergiusz Bazanski1663e0e2019-07-21 16:25:07 +020013 visibility = ["//visibility:public"],
14)
15
16copy_go_binary(
17 name = "calicoctl.bin",
18 src = "@com_github_projectcalico_calicoctl//calicoctl:calicoctl",
19 visibility = ["//visibility:public"],
20)
21
22sh_binary(
23 name = "calicoctl",
24 srcs = ["calicoctl.sh"],
25 data = [":calicoctl.bin", "//tools:secretstore"],
26)
27
28copy_go_binary(
29 name = "cfssl",
30 src = "@com_github_cloudflare_cfssl//cmd/cfssl:cfssl",
31 visibility = ["//visibility:public"],
32)
33
Sergiusz Bazanski1663e0e2019-07-21 16:25:07 +020034sh_binary(
35 name = "nixops",
36 srcs = ["nixops.sh"],
Sergiusz Bazanski96c428f2019-11-17 19:00:46 +010037 data = ["@nixops//:bin", "//tools:secretstore"],
Sergiusz Bazanski1663e0e2019-07-21 16:25:07 +020038)
39
Sergiusz Bazanski0037eda2020-06-13 22:43:06 +020040sh_binary(
41 name = "rook-s3cmd-config",
42 srcs = ["rook-s3cmd-config.sh"],
43 data = [
44 "@bazel_tools//tools/bash/runfiles",
45 "@com_github_stedolan_jq//:jq",
46 ":kubectl",
47 ],
48)