From 3b39b0f316717010e978afe0e8d01c299c2a3b2e Mon Sep 17 00:00:00 2001 From: hexchen Date: Mon, 10 May 2021 14:39:51 +0000 Subject: [PATCH] hainich/gitlab-runner: limit nix builds to 1 running concurrent builds might cause stuff to be redownloaded/rebuilt. --- hosts/hainich/services/gitlab-runner.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/hosts/hainich/services/gitlab-runner.nix b/hosts/hainich/services/gitlab-runner.nix index a7e081b..51c848d 100644 --- a/hosts/hainich/services/gitlab-runner.nix +++ b/hosts/hainich/services/gitlab-runner.nix @@ -12,6 +12,7 @@ registrationConfigFile = "/etc/gitlab-runner/gitlab-runner.env"; }; nix = { + limit = 1; # don't run multiple jobs registrationConfigFile = "/etc/gitlab-runner/gitlab-runner.env"; dockerImage = "alpine"; dockerVolumes = [