From c020b9f5d6747a52cdf28333a8e225404bb2e488 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Tue, 2 May 2023 17:38:10 +0200 Subject: [PATCH 1/2] Allow 5 concurrent buils in the gitlab-runner --- xeon07/gitlab-runner.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/xeon07/gitlab-runner.nix b/xeon07/gitlab-runner.nix index ecb5118..81897ef 100644 --- a/xeon07/gitlab-runner.nix +++ b/xeon07/gitlab-runner.nix @@ -6,6 +6,7 @@ services.gitlab-runner = { enable = true; + settings.concurrent = 5; services = { ovni-shell = { registrationConfigFile = config.age.secrets."secrets/ovni-token".path; -- GitLab From 5ce93ff85a4d2f883b2a811cba801f2648a67d89 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Tue, 2 May 2023 17:47:57 +0200 Subject: [PATCH 2/2] Increase the number of CPUs to 56 for nOS-V docker --- xeon07/gitlab-runner.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xeon07/gitlab-runner.nix b/xeon07/gitlab-runner.nix index 81897ef..6255005 100644 --- a/xeon07/gitlab-runner.nix +++ b/xeon07/gitlab-runner.nix @@ -30,7 +30,10 @@ registrationConfigFile = config.age.secrets."secrets/nosv-token".path; dockerImage = "debian:stable"; tagList = [ "docker" "xeon" ]; - registrationFlags = [ "--docker-network-mode host" ]; + registrationFlags = [ + "--docker-network-mode host" + "--docker-cpus 56" + ]; environmentVariables = { https_proxy = "http://localhost:23080"; http_proxy = "http://localhost:23080"; -- GitLab