From bfe0ef19049070bfa0c2bd8d900c30ae19b47c3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Tue, 19 Mar 2024 19:54:40 +0100 Subject: [PATCH] c3d2-web: lower cpu again We don't need so much, it can take 3 minutes to deploy --- hosts/c3d2-web/default.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/hosts/c3d2-web/default.nix b/hosts/c3d2-web/default.nix index 231bbcae..a91e474f 100644 --- a/hosts/c3d2-web/default.nix +++ b/hosts/c3d2-web/default.nix @@ -3,14 +3,12 @@ { microvm = { # Running on server10 which has 40 threads on 20 cores - vcpu = 20; - # drone-ssh-runner clones the git repo into tmpfs which requires - # some RAM + vcpu = 8; + # drone-ssh-runner clones the git repo into tmpfs which requires some RAM mem = 2 * 1024; }; - # drone-ssh-runner clones into /tmp which needs to be bigger than - # the default rootfs tmpfs + # drone-ssh-runner clones into /tmp which needs to be bigger than the default rootfs tmpfs boot.tmp = { useTmpfs = true; tmpfsSize = "80%";