From cff47bc3e6c5e6f64f3af815ddea7e86d3b3121e Mon Sep 17 00:00:00 2001 From: notohh Date: Thu, 5 Oct 2023 16:43:08 -0400 Subject: [PATCH] sakura: remove woodpecker --- hosts/sakura/services/woodpecker.nix | 38 ---------------------------- 1 file changed, 38 deletions(-) delete mode 100644 hosts/sakura/services/woodpecker.nix diff --git a/hosts/sakura/services/woodpecker.nix b/hosts/sakura/services/woodpecker.nix deleted file mode 100644 index b3fae28..0000000 --- a/hosts/sakura/services/woodpecker.nix +++ /dev/null @@ -1,38 +0,0 @@ -{config, ...}: { - sops.secrets.woodpecker-server = {}; - sops.secrets.woodpecker-agent-secret = {}; - services.woodpecker-server = { - enable = true; - environment = { - WOODPECKER_SERVER_ADDR = ":8200"; - WOODPECKER_GRPC_ADDR = ":8300"; - WOODPECKER_HOST = "https://ci.flake.sh"; - WOODPECKER_OPEN = "false"; - WOODPECKER_GITEA = "true"; - WOODPECKER_GITEA_URL = "https://git.flake.sh"; - WOODPECKER_ADMIN = "notohh"; - WOODPECKER_AGENT_SECRET = config.sops.secrets.woodpecker-agent-secret.path; - WOODPECKER_LOG_LEVEL = "debug"; - WOODPECKER_DEBUG_PRETTY = "true"; - WOODPECKER_KEEPALIVE_MIN_TIME = "10s"; - }; - environmentFile = config.sops.secrets.woodpecker-server.path; - }; - - services.woodpecker-agents.agents.nix = { - enable = true; - environment = { - DOCKER_HOST = "unix:///var/run/docker.sock"; - WOODPECKER_BACKEND = "docker"; - WOODPECKER_SERVER = "localhost:8300"; - WOODPECKER_AGENT_SECRET = config.sops.secrets.woodpecker-agent-secret.path; - WOODPECKER_LOG_LEVEL = "debug"; - WOODPECKER_DEBUG_PRETTY = "true"; - WOODPECKER_KEEPALIVE_MIN_TIME = "10s"; - WOODPECKER_HEALTHCHECK = "true"; - }; - extraGroups = [ - "docker" - ]; - }; -}