blob: 1739e5d13760492b3b06a5644cb9a54567914cac [file] [log] [blame]
Serge Bazanskie7fca3a2020-09-25 20:23:53 +00001#!/usr/bin/env bash
2
3# This is a presubmit (on-merge) CI script.
4# Currently no CI runs it - so be a good cyborg, and run it before submitting
5# changes to hscloud.
6
7set -e -o pipefail
8
9if [ -z "$hscloud_root" ]; then
10 echo 2>&1 "Please first source env.sh"
11 exit 1
12fi
13
14cd $hscloud_root
15
16# Test critical tools.
17tools/install.sh
18kubectl version --client=true
19kubecfg version
20prodaccess --help 2>/dev/null
21bazel run //cluster/clustercfg smoketest
Serge Bazanski0754ed82020-11-27 09:42:59 +000022
23# Test critical services.
24bazel build //cluster/prodvider