Serge Bazanski | e7fca3a | 2020-09-25 20:23:53 +0000 | [diff] [blame] | 1 | #!/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 | |
| 7 | set -e -o pipefail |
| 8 | |
| 9 | if [ -z "$hscloud_root" ]; then |
| 10 | echo 2>&1 "Please first source env.sh" |
| 11 | exit 1 |
| 12 | fi |
| 13 | |
| 14 | cd $hscloud_root |
| 15 | |
| 16 | # Test critical tools. |
| 17 | tools/install.sh |
| 18 | kubectl version --client=true |
| 19 | kubecfg version |
| 20 | prodaccess --help 2>/dev/null |
| 21 | bazel run //cluster/clustercfg smoketest |
Serge Bazanski | 0754ed8 | 2020-11-27 09:42:59 +0000 | [diff] [blame] | 22 | |
| 23 | # Test critical services. |
| 24 | bazel build //cluster/prodvider |