Hydra to Hercules CI migration

This commit is contained in:
Andrea Ciceri 2023-06-18 13:33:17 +02:00
parent 85ae94bf5c
commit 25e19ec538
Signed by: aciceri
SSH key fingerprint: SHA256:/AagBweyV4Hlfg9u092n8hbHwD5fcB6A3qhDiDA65Rg
19 changed files with 155 additions and 225 deletions

View file

@ -0,0 +1,16 @@
{
config,
pkgs,
...
}: {
services.hercules-ci-agent = {
enable = true;
settings = {
concurrentTasks = 8;
clusterJoinTokenPath = config.age.secrets.hercules-ci-join-token.path;
# Don't need using private caches, if I would ever need remember to use agenix!
binaryCachesPath = pkgs.writeText "binary-caches-path" (builtins.toJSON {});
# secretsJsonPath = config.hci-secrets.hci-mlabs-haskell.target;
};
};
}