▾ modified .gitlab-ci.yml +4 -2 Viewed
@@ -22,7 +22,9 @@ check: 22 22 # Everything heavy is offloaded to nixbuild.net; the runner only evaluates, 23 23 # copies results back and uploads. max-jobs = 0 means it refuses to build 24 24 # anything locally, so a misconfigured builder fails loudly instead of 25 - # silently falling back to the slow runner. 25 + # silently falling back to the slow runner. 16 concurrent remote jobs, not 26 + # more: every in-flight goal costs the runner's single nix daemon an ssh-ng 27 + # connection plus the path copy, and at 100 the daemon OOMs mid-pipeline. 26 28 - | 27 29 set -eu 28 30 mkdir -p ~/.ssh @@ -33,7 +35,7 @@ check: 33 35 printf 'eu.nixbuild.net ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPIQCZc54poJ8vqawd8TraNryQeJnvH1eLpIDgbiqymM\n' > ~/.ssh/known_hosts 34 36 printf '%s\n' \ 35 37 'experimental-features = nix-command flakes' \ 36 - 'builders = ssh-ng://eu.nixbuild.net x86_64-linux - 100 1 big-parallel,benchmark' \ 38 + 'builders = ssh-ng://eu.nixbuild.net x86_64-linux - 16 1 big-parallel,benchmark' \ 37 39 'builders-use-substitutes = true' \ 38 40 'max-jobs = 0' >> /etc/nix/nix.conf 39 41 script:
@@ -22,7 +22,9 @@ check: 22 # Everything heavy is offloaded to nixbuild.net; the runner only evaluates, 22 # Everything heavy is offloaded to nixbuild.net; the runner only evaluates, 23 # copies results back and uploads. max-jobs = 0 means it refuses to build 23 # copies results back and uploads. max-jobs = 0 means it refuses to build 24 # anything locally, so a misconfigured builder fails loudly instead of 24 # anything locally, so a misconfigured builder fails loudly instead of 25 - # silently falling back to the slow runner. 25 + # silently falling back to the slow runner. 16 concurrent remote jobs, not 26 + # more: every in-flight goal costs the runner's single nix daemon an ssh-ng 27 + # connection plus the path copy, and at 100 the daemon OOMs mid-pipeline. 26 - | 28 - | 27 set -eu 29 set -eu 28 mkdir -p ~/.ssh 30 mkdir -p ~/.ssh @@ -33,7 +35,7 @@ check: 33 printf 'eu.nixbuild.net ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPIQCZc54poJ8vqawd8TraNryQeJnvH1eLpIDgbiqymM\n' > ~/.ssh/known_hosts 35 printf 'eu.nixbuild.net ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPIQCZc54poJ8vqawd8TraNryQeJnvH1eLpIDgbiqymM\n' > ~/.ssh/known_hosts 34 printf '%s\n' \ 36 printf '%s\n' \ 35 'experimental-features = nix-command flakes' \ 37 'experimental-features = nix-command flakes' \ 36 - 'builders = ssh-ng://eu.nixbuild.net x86_64-linux - 100 1 big-parallel,benchmark' \ 38 + 'builders = ssh-ng://eu.nixbuild.net x86_64-linux - 16 1 big-parallel,benchmark' \ 37 'builders-use-substitutes = true' \ 39 'builders-use-substitutes = true' \ 38 'max-jobs = 0' >> /etc/nix/nix.conf 40 'max-jobs = 0' >> /etc/nix/nix.conf 39 script: 41 script: