add gitlab-runner
This commit is contained in:
parent
0aca300a3a
commit
bd034e573d
4 changed files with 14 additions and 0 deletions
|
@ -34,6 +34,7 @@
|
|||
./services/drone.nix
|
||||
./services/drone-runner-docker.nix
|
||||
./services/docker.nix
|
||||
./services/gitlab-runner
|
||||
];
|
||||
|
||||
hardware.cpu.amd.updateMicrocode = true;
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
./services/postgres.nix
|
||||
./services/docker.nix
|
||||
./services/drone-runner-docker.nix
|
||||
./services/gitlab-runner
|
||||
];
|
||||
hardware.cpu.amd.updateMicrocode = true;
|
||||
boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" "sr_mod" "k10temp"];
|
||||
|
|
10
config/services/gitlab-runner/default.nix
Normal file
10
config/services/gitlab-runner/default.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
services.gitlab-runner = {
|
||||
enable = true;
|
||||
services = {
|
||||
hsmw = {
|
||||
registrationConfigFile = ./hsmw.conf;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
2
config/services/gitlab-runner/hsmw.conf
Normal file
2
config/services/gitlab-runner/hsmw.conf
Normal file
|
@ -0,0 +1,2 @@
|
|||
CI_SERVER_URL=https://git.hs-mittweida.de/
|
||||
REGISTRATION_TOKEN=GR1348941SyNvFeBsareN_wax9QF1
|
Loading…
Reference in a new issue