From 5b1e3627c9644696dc4f78d8f6e093f95d4023b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Wei=C3=9Fe?= <66256922+daniel-weisse@users.noreply.github.com> Date: Mon, 2 Dec 2024 09:25:45 +0100 Subject: [PATCH] ci: run memory intensive check targets sequentially (#3513) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Daniel Weiße --- bazel/ci/BUILD.bazel | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/bazel/ci/BUILD.bazel b/bazel/ci/BUILD.bazel index 838beacab8..455b136e5c 100644 --- a/bazel/ci/BUILD.bazel +++ b/bazel/ci/BUILD.bazel @@ -514,16 +514,14 @@ multirun( ) multirun( - name = "check", + name = "parallel_checks", testonly = True, commands = [ ":gazelle_check", ":buildifier_check", - ":golangci_lint", ":terraform_check", ":golicenses_check", ":license_header_check", - ":govulncheck", ":deps_mirror_check", ":proto_targets_check", ":unused_gh_actions", @@ -542,6 +540,19 @@ multirun( visibility = ["//visibility:public"], ) +multirun( + name = "check", + testonly = True, + commands = [ + ":parallel_checks", + ":golangci_lint", + ":govulncheck", + ], + jobs = 1, # execute sequentially to avoid running into memory issues on our CI runners + stop_on_error = False, + visibility = ["//visibility:public"], +) + multirun( name = "generate_files", commands = [