From 0c89612491433db7ff000bc1f12a5492a97144f0 Mon Sep 17 00:00:00 2001 From: notohh Date: Sun, 8 Oct 2023 00:19:33 -0400 Subject: [PATCH] forgejo-runner: init basegbot runner --- hosts/yuki/services/forgejo-runners.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/hosts/yuki/services/forgejo-runners.nix b/hosts/yuki/services/forgejo-runners.nix index ed8c85f..099f484 100644 --- a/hosts/yuki/services/forgejo-runners.nix +++ b/hosts/yuki/services/forgejo-runners.nix @@ -4,6 +4,7 @@ ... }: { sops.secrets.forgejo-runner-token = {}; + sops.secrets.basegbot-runner-token = {}; services.gitea-actions-runner = { package = pkgs.forgejo-actions-runner; instances.snowflake = { @@ -29,5 +30,28 @@ 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 + ]; + }; }; }