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