From d98b843b730b040c591faf970754c1a1c0905ea8 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Sun, 3 Nov 2024 19:37:12 +0530 Subject: [PATCH] disable forgejo cache --- hosts/rico2/services/apps/forgejo-actions-runner.nix | 6 ++---- hosts/shared/blocky.nix | 1 - hosts/wynne/services/apps/forgejo.nix | 11 +---------- 3 files changed, 3 insertions(+), 15 deletions(-) diff --git a/hosts/rico2/services/apps/forgejo-actions-runner.nix b/hosts/rico2/services/apps/forgejo-actions-runner.nix index 3157aa7..459fa4e 100644 --- a/hosts/rico2/services/apps/forgejo-actions-runner.nix +++ b/hosts/rico2/services/apps/forgejo-actions-runner.nix @@ -6,7 +6,7 @@ group = config.users.users.root.group; }; }; - services.gitea-actions-runner = { + services.gitea-actions-runner = { package = pkgs.forgejo-runner; instances = { aarch64-runner = { @@ -23,9 +23,7 @@ settings = { log.level = "info"; cache = { - enabled = true; - host = "192.168.1.12"; - external_server = "https://act-cache.labs.adtya.xyz/"; + enabled = false; }; }; }; diff --git a/hosts/shared/blocky.nix b/hosts/shared/blocky.nix index 94eafbd..2354a24 100644 --- a/hosts/shared/blocky.nix +++ b/hosts/shared/blocky.nix @@ -66,7 +66,6 @@ # Services "alertmanager.labs.adtya.xyz" = "10.10.10.12"; - "act-cache.labs.adtya.xyz" = "10.10.10.13"; "bazarr.labs.adtya.xyz" = "10.10.10.14"; "blocky.rico1.labs.adtya.xyz" = "10.10.10.11"; "blocky.rico2.labs.adtya.xyz" = "10.10.10.12"; diff --git a/hosts/wynne/services/apps/forgejo.nix b/hosts/wynne/services/apps/forgejo.nix index 2cbf247..6d6e133 100644 --- a/hosts/wynne/services/apps/forgejo.nix +++ b/hosts/wynne/services/apps/forgejo.nix @@ -2,7 +2,6 @@ let cfg = config.services.forgejo; domainName = "forge.acomputer.lol"; - inherit (import ../../../shared/caddy-helpers.nix) logFormat; in { sops.secrets = { @@ -13,12 +12,6 @@ in }; }; services = { - caddy.virtualHosts."act-cache.labs.adtya.xyz" = { - inherit logFormat; - extraConfig = '' - reverse_proxy 127.0.0.1:7777 - ''; - }; gitea-actions-runner = { package = pkgs.forgejo-runner; instances = { @@ -36,9 +29,7 @@ in settings = { log.level = "info"; cache = { - enabled = true; - port = 7777; - external_server = "https://act-cache.labs.adtya.xyz/"; + enabled = false; }; }; };