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 <root@gws.fyi>
Autosubmit: aspen <root@gws.fyi>
Tested-by: BuildkiteCI
This commit is contained in:
Aspen Smith 2024-03-31 13:50:58 -04:00 committed by clbot
parent 9b6aee4b9e
commit 55ab8b1e6a

View file

@ -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 = {