2019-01-13 20:14:02 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
if [ -z "$hscloud_root" ]; then
|
|
|
|
echo 2>&1 "Please first source env.sh"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
cd "${hscloud_root}"
|
|
|
|
|
|
|
|
bazel build \
|
2019-04-06 22:06:23 +00:00
|
|
|
//tools:kubectl //tools:kubecfg //tools:secretstore \
|
2019-05-15 17:13:11 +00:00
|
|
|
//tools:pass //tools:calicoctl.bin //tools:cfssl
|
|
|
|
|
|
|
|
if [ ! -e /nix ] ; then
|
|
|
|
echo "WARNING: No Nix installation detected. nix-dependent tools (nixops) will not be built or available."
|
|
|
|
else
|
|
|
|
bazel build \
|
|
|
|
//tools:nixops
|
|
|
|
fi
|