tvl-depot/ops
Vincent Ambo 38ec27e834 fix(ops/pipelines): Chunk build pipeline into multiple uploads
The number of jobs in the depot pipeline is reaching the limits of the
Buildkite backend's ability for a single pipeline upload. Based on a
conversation with their support my understanding is that this has to
do with internal locking mechanisms at Buildkite.

To work around this, we can instead chunk the pipeline into several
smaller chunks that are uploaded serially.

This commit introduces logic to chunk the pipeline accordingly. The
chunk size chosen is 256 for now (a multiple of our number of agents,
which is useful if we can get builds from the first chunk to start
before the next ones are uploaded).

Note that this chunk size is significantly below even the current
number of targets (~460 as of this commit), but choosing a lower chunk
size might alleviate problems we've been seeing with timeouts during
pipeline uploads.

Change-Id: I77030aaf8b874c330218b78c77d15216e13b9af7
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4332
Tested-by: BuildkiteCI
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: tazjin <mail@tazj.in>
2021-12-15 15:49:40 +00:00
..
besadii feat(besadii): Make Gerrit label configurable 2021-12-14 09:28:09 +01:00
deploy-whitby fix(deploy-whitby): Add jq to script $PATH 2021-09-11 14:33:42 +00:00
dns refactor(readTree): Move 'drvTargets' into readTree 2021-11-23 14:42:08 +00:00
gerrit-tvl feat(gerrit-tvl): add Buildkite-backed Checks plugin implementation 2021-04-07 11:19:04 +00:00
journaldriver refactor(ops): Consistent use of depot.third_party vs. pkgs 2021-04-10 12:09:20 +00:00
kontemplate docs(kontemplate): Remove mention of kontemplate website 2021-09-18 12:35:47 +00:00
machines feat(ops/whitby): install alacritty terminfo 2021-12-13 19:40:28 +00:00
modules docs(ops/irccat): link to credentials RFE 2021-12-14 17:30:33 +00:00
mq_cli chore: Rename pkgs->depot in all Nix file headers 2020-02-21 13:54:53 +00:00
pipelines fix(ops/pipelines): Chunk build pipeline into multiple uploads 2021-12-15 15:49:40 +00:00
posix_mq.rs chore: Rename pkgs->depot in all Nix file headers 2020-02-21 13:54:53 +00:00
secrets feat(ops/secrets): Make (encrypted) secrets part of the tree 2021-12-12 11:19:24 +03:00
users feat(ops/users): Add wpcarro 2021-12-13 23:54:12 +03:00
nixos.nix refactor(ops/nixos): Pass depot as a special argument 2021-05-24 21:48:37 +00:00