From 55ab8b1e6a0d6fad331cc7b6c748ff30a856c385 Mon Sep 17 00:00:00 2001 From: Aspen Smith Date: Sun, 31 Mar 2024 13:50:58 -0400 Subject: fix(aspen/system): Remove buildkite agent on ogopogo I never got this working Change-Id: Iacb68a7d6d5fe1d1f1f390d09f106c4eb9a51b6a Reviewed-on: https://cl.tvl.fyi/c/depot/+/11301 Reviewed-by: aspen Autosubmit: aspen Tested-by: BuildkiteCI --- users/aspen/system/system/machines/ogopogo.nix | 42 -------------------------- 1 file changed, 42 deletions(-) (limited to 'users/aspen') diff --git a/users/aspen/system/system/machines/ogopogo.nix b/users/aspen/system/system/machines/ogopogo.nix index d64d5931e356..e80a0906dbf8 100644 --- a/users/aspen/system/system/machines/ogopogo.nix +++ b/users/aspen/system/system/machines/ogopogo.nix @@ -96,48 +96,6 @@ }; }; - services.buildkite-agents.ogopogo-1 = rec { - enable = true; - tokenPath = config.age.secretsDir + "/buildkite-token"; - privateSshKeyPath = config.age.secretsDir + "/buildkite-ssh-key"; - runtimePackages = with pkgs; [ - docker - nix - gnutar - gzip - bash - ]; - tags = { - queue = "ogopogo"; - }; - dataDir = "/home/grfn/buildkite-agent"; - - hooks.environment = '' - export BUILDKITE_AGENT_HOME=${dataDir} - ''; - }; - systemd.services.buildkite-agent-ogopogo-1.serviceConfig.User = - lib.mkForce "grfn"; - users.users.grfn.extraGroups = [ "keys" ]; - - age.secrets = - let - secret = name: depot.users.aspen.secrets."${name}.age"; - in - { - buildkite-ssh-key = { - file = secret "buildkite-ssh-key"; - group = "keys"; - mode = "0440"; - }; - - buildkite-token = { - file = secret "buildkite-token"; - group = "keys"; - mode = "0440"; - }; - }; - nix.settings.substituters = [ "ssh://grfn@172.16.0.5" ]; nix.settings.trusted-substituters = [ "ssh://grfn@172.16.0.5" ]; programs.ssh.knownHosts.mugwump = { -- cgit 1.4.1