feat(ops/nevsky): run buildkite agents on nevsky
This relates to b/433. Change-Id: Ic39e4836ca354ce2f9f365cba95f96ceb5eec281 Reviewed-on: https://cl.tvl.fyi/c/depot/+/12990 Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
This commit is contained in:
parent
d2d06241a0
commit
f081642b3a
1 changed files with 31 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ in
|
|||
(mod "builderball.nix")
|
||||
(mod "harmonia.nix")
|
||||
(mod "known-hosts.nix")
|
||||
(mod "tvl-buildkite.nix")
|
||||
(mod "tvl-users.nix")
|
||||
(mod "www/cache.tvl.fyi.nix")
|
||||
(mod "www/self-cache.tvl.fyi.nix")
|
||||
|
|
@ -108,6 +109,30 @@ in
|
|||
file = secretFile "nix-cache-pub";
|
||||
mode = "0444";
|
||||
};
|
||||
|
||||
buildkite-agent-token = {
|
||||
file = secretFile "buildkite-agent-token";
|
||||
mode = "0440";
|
||||
group = "buildkite-agents";
|
||||
};
|
||||
|
||||
buildkite-graphql-token = {
|
||||
file = secretFile "buildkite-graphql-token";
|
||||
mode = "0440";
|
||||
group = "buildkite-agents";
|
||||
};
|
||||
|
||||
buildkite-besadii-config = {
|
||||
file = secretFile "besadii";
|
||||
mode = "0440";
|
||||
group = "buildkite-agents";
|
||||
};
|
||||
|
||||
buildkite-private-key = {
|
||||
file = secretFile "buildkite-ssh-private-key";
|
||||
mode = "0440";
|
||||
group = "buildkite-agents";
|
||||
};
|
||||
};
|
||||
|
||||
networking = {
|
||||
|
|
@ -208,6 +233,12 @@ in
|
|||
|
||||
services.depot.builderball.enable = true;
|
||||
|
||||
# Run a handful of Buildkite agents to support parallel builds.
|
||||
services.depot.buildkite = {
|
||||
enable = true;
|
||||
agentCount = 16;
|
||||
};
|
||||
|
||||
# Use TVL cache locally through the proxy; for cross-builder substitution.
|
||||
tvl.cache.enable = true;
|
||||
tvl.cache.builderball = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue