update gitlab runner config
This commit is contained in:
parent
0e2e304264
commit
7c08456872
2 changed files with 19 additions and 0 deletions
18
system/gitlab-runner.nix
Normal file
18
system/gitlab-runner.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ config, pkgs, lib, ... }: {
|
||||
boot.kernel.sysctl."net.ipv4.ip_forward" = true;
|
||||
virtualisation.docker.enable = true;
|
||||
services.gitlab-runner = with lib; {
|
||||
enable = true;
|
||||
concurrent = 4;
|
||||
services = {
|
||||
ci_test = {
|
||||
registrationConfigFile = "/srv/gitlab-runner/env/ci_test";
|
||||
dockerImage = "debian";
|
||||
};
|
||||
thoreb_builder = {
|
||||
registrationConfigFile = "/srv/gitlab-runner/env/thoreb_builder";
|
||||
dockerImage = "debian";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue