Configured binary cache for Hercules CI
This commit is contained in:
parent
5e9020533b
commit
563d6f296e
4 changed files with 5 additions and 3 deletions
|
@ -187,6 +187,7 @@
|
||||||
secrets = {
|
secrets = {
|
||||||
"rock5b-wireguard-private-key" = {};
|
"rock5b-wireguard-private-key" = {};
|
||||||
"hercules-ci-join-token".owner = "hercules-ci-agent";
|
"hercules-ci-join-token".owner = "hercules-ci-agent";
|
||||||
|
"hercules-ci-binary-caches".owner = "hercules-ci-agent";
|
||||||
};
|
};
|
||||||
colmena.deployment.buildOnTarget = true;
|
colmena.deployment.buildOnTarget = true;
|
||||||
};
|
};
|
||||||
|
@ -232,6 +233,7 @@
|
||||||
# "hydra-github-token".group = "hydra";
|
# "hydra-github-token".group = "hydra";
|
||||||
"cache-private-key".owner = "nix-serve";
|
"cache-private-key".owner = "nix-serve";
|
||||||
"hercules-ci-join-token".owner = "hercules-ci-agent";
|
"hercules-ci-join-token".owner = "hercules-ci-agent";
|
||||||
|
"hercules-ci-binary-caches".owner = "hercules-ci-agent";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -8,9 +8,8 @@
|
||||||
settings = {
|
settings = {
|
||||||
concurrentTasks = 8;
|
concurrentTasks = 8;
|
||||||
clusterJoinTokenPath = config.age.secrets.hercules-ci-join-token.path;
|
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 = config.age.secrets.hercules-ci-binary-caches.path;
|
||||||
binaryCachesPath = pkgs.writeText "binary-caches-path" (builtins.toJSON {});
|
# secretsJsonPath = config.hercules-ci-secrets.path;
|
||||||
# secretsJsonPath = config.hci-secrets.hci-mlabs-haskell.target;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,6 +11,7 @@ in
|
||||||
"cache-private-key.age".publicKeys = [ccr-ssh ccr-gpg mothership];
|
"cache-private-key.age".publicKeys = [ccr-ssh ccr-gpg mothership];
|
||||||
"autistici-password.age".publicKeys = [ccr-ssh ccr-gpg thinkpad];
|
"autistici-password.age".publicKeys = [ccr-ssh ccr-gpg thinkpad];
|
||||||
"hercules-ci-join-token.age".publicKeys = [ccr-ssh ccr-gpg mothership rock5b];
|
"hercules-ci-join-token.age".publicKeys = [ccr-ssh ccr-gpg mothership rock5b];
|
||||||
|
"hercules-ci-binary-caches.age".publicKeys = [ccr-ssh ccr-gpg mothership rock5b];
|
||||||
|
|
||||||
# WireGuard
|
# WireGuard
|
||||||
"thinkpad-wireguard-private-key.age".publicKeys = [ccr-ssh ccr-gpg thinkpad];
|
"thinkpad-wireguard-private-key.age".publicKeys = [ccr-ssh ccr-gpg thinkpad];
|
||||||
|
|
Binary file not shown.
Loading…
Add table
Reference in a new issue