tsuru: remove forgejo runners

This commit is contained in:
notohh 2024-01-23 21:35:44 -05:00
parent 685a864e52
commit 18f9ffd7ae
Signed by: notohh
GPG key ID: BD47506D475EE86D

View file

@ -1,89 +0,0 @@
{
pkgs,
config,
...
}: {
sops.secrets = {
snowflake-runner-token = {
sopsFile = ../../../secrets/runners/secrets.yaml;
};
basegbot-runner-token = {
sopsFile = ../../../secrets/runners/secrets.yaml;
};
notohh-dev-runner-token = {
sopsFile = ../../../secrets/runners/secrets.yaml;
};
};
services.gitea-actions-runner = {
package = pkgs.forgejo-actions-runner;
instances.snowflake = {
settings = {
container = {
network = "host";
};
};
enable = true;
name = config.networking.hostName;
token = config.sops.secrets.snowflake-runner-token.path;
url = "https://git.flake.sh";
labels = [
"debian-latest:docker://node:18-bullseye"
"ubuntu-latest:docker://node:18-bullseye"
#"native:host"
];
hostPackages = with pkgs; [
bash
curl
coreutils
wget
gitMinimal
];
};
instances.basegbot = {
settings = {
container = {
network = "host";
};
};
enable = true;
name = config.networking.hostName;
token = config.sops.secrets.basegbot-runner-token.path;
url = "https://git.flake.sh";
labels = [
"debian-latest:docker://node:18-bullseye"
"ubuntu-latest:docker://node:18-bullseye"
#"native:host"
];
hostPackages = with pkgs; [
bash
curl
coreutils
wget
gitMinimal
];
};
instances.notohh-dev = {
settings = {
container = {
network = "host";
};
};
enable = true;
name = config.networking.hostName;
token = config.sops.secrets.notohh-dev-runner-token.path;
url = "https://git.flake.sh";
labels = [
"debian-latest:docker://node:18-bullseye"
"ubuntu-latest:docker://node:18-bullseye"
#"native:host"
];
hostPackages = with pkgs; [
bash
curl
coreutils
wget
gitMinimal
];
};
};
}