gitlab-runner: configText -> configFile
This commit is contained in:
parent
af52d7028a
commit
d973c779eb
@ -1,4 +1,4 @@
|
|||||||
{ config, ... }:
|
{ config, pkgs, ... }:
|
||||||
let
|
let
|
||||||
url = "https://git.shackspace.de/";
|
url = "https://git.shackspace.de/";
|
||||||
# generate token from CI-token via:
|
# generate token from CI-token via:
|
||||||
@ -16,7 +16,7 @@ in {
|
|||||||
enable = true;
|
enable = true;
|
||||||
# configFile, configOptions and gracefulTimeout not yet in stable
|
# configFile, configOptions and gracefulTimeout not yet in stable
|
||||||
# gracefulTimeout = "120min";
|
# gracefulTimeout = "120min";
|
||||||
configText = ''
|
configFile = pkgs.writeText "gitlab-runner.cfg" ''
|
||||||
concurrent = 1
|
concurrent = 1
|
||||||
check_interval = 0
|
check_interval = 0
|
||||||
|
|
||||||
@ -28,7 +28,6 @@ in {
|
|||||||
shell = "sh"
|
shell = "sh"
|
||||||
environment = ["PATH=/bin:/run/wrappers/bin:/etc/per-user/gitlab-runner/bin:/etc/per-user-pkgs/gitlab-runner/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin"]
|
environment = ["PATH=/bin:/run/wrappers/bin:/etc/per-user/gitlab-runner/bin:/etc/per-user-pkgs/gitlab-runner/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin"]
|
||||||
[runners.cache]
|
[runners.cache]
|
||||||
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user