From 641fa54783bfa97ef1f57d681e8c56f6f03ccf8b Mon Sep 17 00:00:00 2001 From: Serge Bazanski Date: Fri, 22 Sep 2023 23:00:06 +0000 Subject: [PATCH] ci: update presubmit script Change-Id: I43884faff856b5ca7d8f728ebb9784131544a5e4 Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1629 Reviewed-by: q3k --- ci_presubmit.sh | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/ci_presubmit.sh b/ci_presubmit.sh index 76199383..85912910 100755 --- a/ci_presubmit.sh +++ b/ci_presubmit.sh @@ -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