From 45af3167b2a52099b5b04067d7883452df69f0cb Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 19 Apr 2024 18:00:58 +0200 Subject: [PATCH] cluster/services/hercules-ci-multi-agent: use garage --- .../hercules-ci-multi-agent/default.nix | 11 ++++++++++ .../secrets/hci-cache-config.age | Bin 966 -> 901 bytes .../secrets/hci-cache-credentials-VEGAS.age | Bin 593 -> 574 bytes .../secrets/hci-cache-credentials-prophet.age | 19 ++++++++---------- 4 files changed, 19 insertions(+), 11 deletions(-) diff --git a/cluster/services/hercules-ci-multi-agent/default.nix b/cluster/services/hercules-ci-multi-agent/default.nix index def9c2a..af27647 100644 --- a/cluster/services/hercules-ci-multi-agent/default.nix +++ b/cluster/services/hercules-ci-multi-agent/default.nix @@ -22,4 +22,15 @@ ]; }; }; + garage = let + hciAgentKeys = lib.pipe config.services.hercules-ci-multi-agent.nodes [ + (lib.collect lib.isList) + lib.flatten + lib.unique + (map (x: "hci-agent-${x}")) + ]; + in { + keys = lib.genAttrs hciAgentKeys (lib.const {}); + buckets.nix-store.allow = lib.genAttrs hciAgentKeys (lib.const [ "read" "write" ]); + }; } diff --git a/cluster/services/hercules-ci-multi-agent/secrets/hci-cache-config.age b/cluster/services/hercules-ci-multi-agent/secrets/hci-cache-config.age index e7867ab9bea6f0e5ce80cf69490b2ce5fbbe9d65..cfb9ee30e262bf5d044a74716213ed8177f3172d 100644 GIT binary patch delta 832 zcmV-G1Hb&n2ZaZaEPrTGIb&*BG&ELXWOzw-a70!!cX=y8RdjGcFh?t9Oh-vnF*R&& zL3LtoYYJ;JGgviiWi>G?b3`#`Ge&VSN_R*}S!8caD|u;2VRukPY*<2cO+-O(Gzu*~ zAaiqQEoEdfH8n9gAT=*~R4{iSXjXSOHC1CPS2k{GS94-{PexN!R7^EiF;!77X?HYd zc5_K|VPz{qQf+H@3NJ}XXfHNNG-yImLN;$QQ%-YjI8SCsWi(h)axyebcUDnLXisV| zGBS8~k?|K-IZbXhPBw8=Wk@!2X>?&}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bsvKra>zF!+twusePJsl+8s<{zz8NJ$KTXG~5 zd=^3wB!x=2g$rnfNav@4QA`3guCHrjfg?xtl?(uY&vpRb@CuRuMVFrLEbneTIDEy= zy*ya_7O7$@q~f3Vd(ZdS$8R#Fo!$a+GP4Tu(jIn99=M&>C+*kQBRxF$aQ59e#Vu(b zvUbJXX2_%4o10HAUp@SDYnf?YoZVIKyg)yH4=wnn9-Qfs ssh-ed25519 NO562A XV9fjixDzjYkcTAh/uAWS+vbvqe19HhF1D3ak1g1jiE -t5PEwAn+I4bJN27fYEZVZQh/SVxQocBMxqxc1O5CCgE --> ssh-ed25519 5/zT0w 0KuTIG51h+oX3QWZukAjoBVHXE6NxKBcSfDN9u/A2H8 -SGm8Eh5L5ELB3gjmV5pfh3HqDnGrdif0I7mF7ulabW4 --> ssh-ed25519 YIaSKQ bjHZIN85glRN0hdH76iu7kg243enfH6VlX8Yr54FfzM -0RzxbV9ABYElM2DIfimkvzeVuhobpsiDTH39PgVDTvE --> 8&39JRT-grease {)Hfc"$ |,#c1\: Vf>^[!hm ;2o>+a"M -y9JRDuvO1YC61IhxUofWLAYfOEldTR9/SwnGuo7lAbAp8smTrlWO2qVe3Ztp+gQU -NXZ9K3PaKKm1VWg ---- p75QmGUUBK5sNhkG6zDmEGa5injwKH119i6bHod55+Y -zM(_b*j6\݋1Cg? ЂAvAtx_H 5'f *MbFt,)6Qf)HgBQ~-7Rڑ?RUP(UW>'FBOV \ No newline at end of file +-> ssh-ed25519 NO562A jNUNRaIQC1DUBiacnWc3xjMUAxnAgiyJhRA74cof3Ec +oZZq1AQ3F0nvrk7KpinLWgT3cIoCYZ5R1s0us69OI8E +-> ssh-ed25519 5/zT0w FmoxaTg75/xaDmSOHL5Xs6QOr5rLG/sr5TmPMfkOqxw +XXQrFxxt5GOzXgJoPY8U71NSYi/IWmL3QrenvOuQ43Q +-> ssh-ed25519 YIaSKQ ++dqG+dr8ie+4sPW7L+eVkXvOVvM+/oBR722S2sQsSg +879pmnhOtZ/MiMUwDlyujykQXNmCepI2FSU2QcvvkrA +--- QcvlVdv2fYMKmT/aCpTjdmGJ+9KnUvZCZNtl7WhgCbw +!jw~f%J>H 29.VhŷO!$ičݞԐ4\_̆JT>J8Y\Ik ktG(AO#š#( L0h=[RwUjiV2(BGgԄ^L7fʫ"zVn)9