feat(grfn/system): Add windtunnel bot github token secret

Change-Id: Ib67526e782fe0bedecd24d9c48dcf189fb8b5b02
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10664
Reviewed-by: aspen <root@gws.fyi>
Autosubmit: aspen <root@gws.fyi>
Tested-by: BuildkiteCI
This commit is contained in:
Aspen Smith 2024-01-18 10:32:03 -05:00 committed by aspen
parent f169a56ad6
commit 8e08dd6970
3 changed files with 19 additions and 1 deletions

View file

@ -11,4 +11,5 @@ in
"ddclient-password.age".publicKeys = [ grfn mugwump ];
"buildkite-ssh-key.age".publicKeys = [ grfn mugwump ogopogo ];
"buildkite-token.age".publicKeys = [ grfn mugwump ogopogo ];
"windtunnel-bot-github-token.age".publicKeys = [ grfn mugwump ogopogo ];
}

View file

@ -0,0 +1,11 @@
age-encryption.org/v1
-> ssh-ed25519 CpJBgQ YaZ2VHyXofn2qnxRrOYO4yPPu77BEPFq/cbnfa+5WAA
VgJQoyJVxirvASD0aDsuzmbNJdIP0kpHa5b72Ri7kr8
-> ssh-ed25519 LfBFbQ cXXW3kQzZL7sU4heujIJGzvfpbX0toL2AgsJl5AZPEg
mhkKn69c/QeCJhYAFgx/MsHrIrXim3OcjkZ/rrckVLs
-> ssh-ed25519 GeE7sQ /XcP3pWg+aKF1F0sPu6RpYv3Rfj2J/QI0yjg3Wgfjm0
d+rsgbMlDJx0VrjD4/nO4UcM10hcrLxcPA3QlY1t7sQ
-> "0?-grease k}d?h6 |v
7mV6AFUdCMCrkmLVQaWJPQ
--- I9Ls9AWMkSFCKw7y4pLoTkeGw7h5iROwXLuUm0nfuj8
~v‰8&ü£¹3\²Òý.»%$¼›Éº°³tòóˆØQ©ˆÀ¨á”Åé¼Íœ}ˆ—ó,BEÇh w96”çö?ÓU

View file

@ -96,6 +96,12 @@ with lib;
group = "keys";
mode = "0440";
};
windtunnel-bot-github-token = {
file = secret "windtunnel-bot-github-token";
group = "keys";
mode = "0440";
};
};
services.fail2ban = {
@ -295,6 +301,6 @@ with lib;
users.users."buildkite-agent-mugwump-1" = {
isSystemUser = true;
extraGroups = [ "docker" ];
extraGroups = [ "docker" "keys" ];
};
}