ci: update presubmit script

Change-Id: I43884faff856b5ca7d8f728ebb9784131544a5e4
Reviewed-by: q3k <>
q3k 2023-09-22 23:00:06 +00:00 committed by q3k
parent 62b83e04de
commit 641fa54783
1 changed files with 4 additions and 8 deletions

View File

@ -6,12 +6,8 @@
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
# Exclude //app/mailman-web as it requires local docker.
T="//... -//app/mailman-web/..."
bazel build -- $T
bazel test -- $T