Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions buildkite/bazelci.py
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@

# The maximum number of tasks allowed in one pipeline yaml config file.
# This is to prevent accidentally creating too many tasks with the martix testing feature.
MAX_TASK_NUMBER = 80
MAX_TASK_NUMBER = 128

_TEST_BEP_FILE = "test_bep.json"
_SHARD_RE = re.compile(r"(.+) \(shard (\d+)\)")
Expand Down Expand Up @@ -946,7 +946,8 @@ def load_config(http_url, file_config, allow_imports=True, bazel_version=None):

if len(config["tasks"]) > MAX_TASK_NUMBER:
raise BuildkiteException(
"The number of tasks in one config file is limited to %s!" % MAX_TASK_NUMBER
"The number of tasks in one config file is limited to %s, found %s!"
% (MAX_TASK_NUMBER, len(config["tasks"])),
)

return config
Expand Down