add gitlab-runner

This commit is contained in:
Charlotte 🦝 Delenk 2022-10-28 10:20:36 +01:00
parent 0aca300a3a
commit bd034e573d
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122
4 changed files with 14 additions and 0 deletions

View file

@ -34,6 +34,7 @@
./services/drone.nix
./services/drone-runner-docker.nix
./services/docker.nix
./services/gitlab-runner
];
hardware.cpu.amd.updateMicrocode = true;

View file

@ -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"];

View file

@ -0,0 +1,10 @@
{
services.gitlab-runner = {
enable = true;
services = {
hsmw = {
registrationConfigFile = ./hsmw.conf;
};
};
};
}

View file

@ -0,0 +1,2 @@
CI_SERVER_URL=https://git.hs-mittweida.de/
REGISTRATION_TOKEN=GR1348941SyNvFeBsareN_wax9QF1