From 318e56bd044b4c3b17ff589cba76b8f65b04e8df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Fri, 20 Nov 2020 16:44:48 +0100 Subject: [PATCH] beacon-node-builds: run with -j1 to not disturb containers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- ansible/roles/beacon-node-builds/templates/build.sh.j2 | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/ansible/roles/beacon-node-builds/templates/build.sh.j2 b/ansible/roles/beacon-node-builds/templates/build.sh.j2 index 7910c92..71b71ba 100644 --- a/ansible/roles/beacon-node-builds/templates/build.sh.j2 +++ b/ansible/roles/beacon-node-builds/templates/build.sh.j2 @@ -30,12 +30,9 @@ fi # Lower CPU and I/O priority so it doesn't affect the running beacon node NICE="nice -n 19 ionice -c2 -n7" -${NICE} make -j$(nproc) update -${NICE} make \ - -j$(nproc) \ - LOG_LEVEL="TRACE" \ - NIMFLAGS="-d:insecure -d:testnet_servers_image" \ - {{ item.targets | join(" ") }} +${NICE} make -j1 update +${NICE} make -j1 {{ item.targets | join(" ") }} \ + LOG_LEVEL="TRACE" NIMFLAGS="-d:insecure -d:testnet_servers_image" popd