Skip to content

Commit

Permalink
ci: run memory intensive check targets sequentially (#3513)
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Weiße <[email protected]>
  • Loading branch information
daniel-weisse authored Dec 2, 2024
1 parent ed573c4 commit 5b1e362
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions bazel/ci/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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 = [
Expand Down

0 comments on commit 5b1e362

Please sign in to comment.