Configured gitea CI runner
This commit is contained in:
parent
3b9df6d828
commit
967d362f11
BIN
secrets/gitea-runner-gospel.age
Normal file
BIN
secrets/gitea-runner-gospel.age
Normal file
Binary file not shown.
|
@ -17,4 +17,5 @@ in {
|
||||||
"teslamate_mqtt.age".publicKeys = [users.me machines.pi4 machines.node machines.gospel];
|
"teslamate_mqtt.age".publicKeys = [users.me machines.pi4 machines.node machines.gospel];
|
||||||
"teslamate_encryption.age".publicKeys = [users.me machines.node machines.gospel];
|
"teslamate_encryption.age".publicKeys = [users.me machines.node machines.gospel];
|
||||||
"hydra-aws-creds.age".publicKeys = [users.me machines.gospel];
|
"hydra-aws-creds.age".publicKeys = [users.me machines.gospel];
|
||||||
|
"gitea-runner-gospel.age".publicKeys = [users.me machines.gospel];
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
age.secrets.cf_dns_kilonull.file = ../../../secrets/cf_dns_kilonull.age;
|
age.secrets.cf_dns_kilonull.file = ../../../secrets/cf_dns_kilonull.age;
|
||||||
|
age.secrets.gitea-runner-gospel.file = ../../../secrets/gitea-runner-gospel.age;
|
||||||
|
|
||||||
aa = {
|
aa = {
|
||||||
nix.enable = true;
|
nix.enable = true;
|
||||||
|
@ -62,6 +63,20 @@
|
||||||
system.monitoring.enable = true;
|
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 = {
|
virtualisation = {
|
||||||
libvirtd.enable = true;
|
libvirtd.enable = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue