Sergiusz Bazanski | de06180 | 2019-01-13 21:14:02 +0100 | [diff] [blame] | 1 | #!/usr/bin/env bash |
| 2 | |
| 3 | if [ -z "$hscloud_root" ]; then |
| 4 | echo 2>&1 "Please first source env.sh" |
| 5 | exit 1 |
| 6 | fi |
| 7 | |
| 8 | cd "${hscloud_root}" |
| 9 | |
| 10 | bazel build \ |
Sergiusz Bazanski | 73cef11 | 2019-04-07 00:06:23 +0200 | [diff] [blame] | 11 | //tools:kubectl //tools:kubecfg //tools:secretstore \ |
Sergiusz Bazanski | bb77892 | 2019-05-15 19:13:11 +0200 | [diff] [blame] | 12 | //tools:pass //tools:calicoctl.bin //tools:cfssl |
| 13 | |
| 14 | if [ ! -e /nix ] ; then |
| 15 | echo "WARNING: No Nix installation detected. nix-dependent tools (nixops) will not be built or available." |
| 16 | else |
| 17 | bazel build \ |
| 18 | //tools:nixops |
| 19 | fi |