Skip to content

Commit 54d8fe5

Browse files
committed
ci: reduce ci burden with selected machine filtering
1 parent 0a96b90 commit 54d8fe5

File tree

2 files changed

+21
-7
lines changed

2 files changed

+21
-7
lines changed

flake.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake/hydraJobs.nix

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,20 @@ with lib; {
1212
pkgs,
1313
...
1414
}: let
15+
# A sampling of cluster machines to build in CI to validate new work
16+
# isn't breaking them.
17+
machineBuildList = [
18+
# Buildkite
19+
"buildkite1-eu-central-1-1"
20+
21+
# Mainnet, PraosMode, edge, relay and bp configs
22+
"mainnet1-dbsync-a-1"
23+
"mainnet1-rel-a-1"
24+
25+
# Preprod, GenesisMode, bp
26+
"preprod1-bp-a-1"
27+
];
28+
1529
nixosCfgsNoIpModule =
1630
mapAttrs
1731
(name: cfg:
@@ -32,7 +46,7 @@ with lib; {
3246
];
3347
}
3448
else cfg)
35-
parts.config.flake.nixosConfigurations;
49+
(filterAttrs (n: _: elem n machineBuildList) parts.config.flake.nixosConfigurations);
3650

3751
jobs = {
3852
nixosConfigurations =

0 commit comments

Comments
 (0)