fix(ops/pipelines): limit concurrency of 🦙
When pushing a large chain of CLs, builds can fail with OOM issues as many Nix evaluations of the depot are happening simultaneously. To work around this, we limit the concurrency of simultaneous Nix evaluations (i.e. the `:llama` step). This can slow down the start of builds in a large chain of small changes, but that is a better tradeoff than failing the builds entirely and making people click buttons. Change-Id: If351aaad22d52e2bcf871377f22ab1df594c518d Reviewed-on: https://cl.tvl.fyi/c/depot/+/7501 Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
This commit is contained in:
parent
f4e17caae8
commit
abaa90c3ab
1 changed files with 2 additions and 0 deletions
|
@ -34,6 +34,8 @@ steps:
|
||||||
# Generate & upload dynamic build steps
|
# Generate & upload dynamic build steps
|
||||||
- label: ":llama:"
|
- label: ":llama:"
|
||||||
key: "pipeline-gen"
|
key: "pipeline-gen"
|
||||||
|
concurrency_group: 'depot-nix-eval'
|
||||||
|
concurrency: 5 # much more than this and whitby will OOM
|
||||||
command: |
|
command: |
|
||||||
set -ue
|
set -ue
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue