tests: increase memory and cpu for all nodes

This commit is contained in:
b12f 2025-02-09 14:41:14 +01:00
parent f7ff01c583
commit 02a8fbc237
Signed by: b12f
GPG key ID: 729956E1124F8F26

View file

@ -18,7 +18,7 @@ jobs:
# Prevent cache garbage collection by creating GC roots
mkdir -p /var/lib/gitea-runner/tankstelle/.local/state/nix/results
sed -i 's/virtualisation.cores .*/virtualisation.cores = 16;/' tests/keycloak.nix
sed -i 's/virtualisation.memorySize .*/virtualisation.memorySize = 16384;/' tests/keycloak.nix
sed -i 's/virtualisation.cores .*/virtualisation.cores = 16;/' tests/**/*.nix
sed -i 's/virtualisation.memorySize .*/virtualisation.memorySize = 16384;/' tests/**/*.nix
# 1 eval-worker needs about 13GB of memory
nix --accept-flake-config --access-tokens '' develop --command nix-fast-build --no-nom --skip-cached --systems "x86_64-linux" --max-jobs 10 --eval-workers 2 --out-link /var/lib/gitea-runner/tankstelle/.local/state/nix/results/nix-fast-build