Commit 06c88ac8 authored by Valentin Reis's avatar Valentin Reis

removes automatic nix garbage collection on runners

parent 0a12b8de
Pipeline #8961 passed with stages
in 33 minutes and 29 seconds
No preview for this file type
......@@ -61,11 +61,11 @@ let
services.gitlabrunner.registrationConfigFile = "/run/gitlab.cfg";
services.gitlabrunner.packages = [pkgs.bash pkgs.docker-machine pkgs.shadow pkgs.git];
nix.gc = {
automatic = true;
dates = "05:15";
options = ''--max-freed "$((32 * 1024**3 - 1024 * $(df -P -k /nix/store | tail -n 1 | ${pkgs.gawk}/bin/awk '{ print $4 }')))"'';
};
#nix.gc = {
#automatic = false;
#dates = "05:15";
#options = ''--max-freed "$((32 * 1024**3 - 1024 * $(df -P -k /nix/store | tail -n 1 | ${pkgs.gawk}/bin/awk '{ print $4 }')))"'';
#};
services.openssh.enable = true;
users.extraUsers.root.openssh.authorizedKeys.keys = [ (pkgs.lib.readFile ./keys/id_buildfarm.pub)] ++ keys;
users.extraUsers.fre.openssh.authorizedKeys.keys = [ (pkgs.lib.readFile ./keys/id_buildfarm.pub)] ++ keys ;
......@@ -75,13 +75,11 @@ in
network.description = "argo-ci";
network.enableRollback = false;
gitlab-runner-1 = mkChameleonRunner "129.114.111.64";
gitlab-runner-2 = mkChameleonRunner "129.114.111.114";
gitlab-runner-3 = mkChameleonRunner "129.114.110.214";
gitlab-runner-4 = mkChameleonRunner "129.114.110.3";
gitlab-runner-5 = mkChameleonRunner "129.114.33.201";
gitlab-runner-6 = mkChameleonRunner "129.114.111.83";
gitlab-runner-7 = mkChameleonRunner "129.114.111.116";
gitlab-runner-1 = mkChameleonRunner "129.114.24.216";
gitlab-runner-2 = mkChameleonRunner "129.114.24.194";
gitlab-runner-3 = mkChameleonRunner "129.114.24.215";
gitlab-runner-4 = mkChameleonRunner "129.114.24.218";
gitlab-runner-5 = mkChameleonRunner "129.114.24.212";
gitlab-runner-physical =
{ ... }:
......
#!/usr/bin/env bash
nixops deploy -s argo.nixops --include gitlab-runner-0 gitlab-runner-1 gitlab-runner-2 gitlab-runner-3 gitlab-runner-4
nixops deploy -s argo.nixops --include gitlab-runner-1 gitlab-runner-2 gitlab-runner-3 gitlab-runner-4 gitlab-runner-5
......@@ -96,7 +96,7 @@ in
--executor "shell" \
--maximum-timeout 1800 \
--request-concurrency ${cfg.concurrency} \
--tag-list "integration,notknl,singularity"\
--tag-list "integration,notknl,singularity,kvm,nix"\
''
"${pkgs.gnused}/bin/sed -i 's/concurrent = .*$/concurrent = ${cfg.concurrency}/' /etc/gitlab-runner/config.toml"];
ExecStart = ''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment