Configured gitea CI runner

This commit is contained in:
alejandro-angulo 2024-09-28 23:19:43 -07:00
parent 3b9df6d828
commit 967d362f11
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6
3 changed files with 16 additions and 0 deletions

Binary file not shown.

View file

@ -17,4 +17,5 @@ in {
"teslamate_mqtt.age".publicKeys = [users.me machines.pi4 machines.node machines.gospel];
"teslamate_encryption.age".publicKeys = [users.me machines.node machines.gospel];
"hydra-aws-creds.age".publicKeys = [users.me machines.gospel];
"gitea-runner-gospel.age".publicKeys = [users.me machines.gospel];
}

View file

@ -9,6 +9,7 @@
];
age.secrets.cf_dns_kilonull.file = ../../../secrets/cf_dns_kilonull.age;
age.secrets.gitea-runner-gospel.file = ../../../secrets/gitea-runner-gospel.age;
aa = {
nix.enable = true;
@ -62,6 +63,20 @@
system.monitoring.enable = true;
};
services.gitea-actions-runner.instances = {
gospel = {
enable = true;
name = config.networking.hostName;
url = "https://gitea.kilonull.com";
tokenFile = config.age.secrets.gitea-runner-gospel.path;
labels = [
"ubuntu-latest:docker://node:16-bullseye"
"ubuntu-22.04:docker://node:16-bullseye"
"ubuntu-20.04:docker://node:16-bullseye"
"ubuntu-18.04:docker://node:16-buster"
];
};
};
virtualisation = {
libvirtd.enable = true;