forked from hswaw/hscloud
Serge Bazanski
f3e6f8f3d7
Let's make things simpler and just build/run stuff that we deem critical. Change-Id: I356efaac4c8af276aaaa0a141a70f35da19c6957 Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1166 Reviewed-by: q3k <q3k@hackerspace.pl>
17 lines
558 B
Bash
Executable file
17 lines
558 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
# This is a presubmit (on-merge) CI script.
|
|
# Currently no CI runs it - so be a good cyborg, and run it before submitting
|
|
# changes to hscloud.
|
|
|
|
set -e -o pipefail
|
|
|
|
# Build some things that should always build - ie. critical codebases.
|
|
bazel build //tools/... //cluster/...
|
|
|
|
# Run some critical tools that are needed to access clusters.
|
|
bazel run //cluster/clustercfg smoketest
|
|
bazel run //cluster/tools:kubectl -- version --client=true
|
|
bazel run //cluster/tools:kubecfg -- version
|
|
bazel run //cluster/prodaccess -- --help 2>/dev/null
|
|
|