Add a wip_kubernetes build target for nix_builder.
This commit is contained in:
@@ -154,7 +154,14 @@
|
|||||||
// {
|
// {
|
||||||
wip = nixpkgs.legacyPackages."${system}".symlinkJoin {
|
wip = nixpkgs.legacyPackages."${system}".symlinkJoin {
|
||||||
name = "wip";
|
name = "wip";
|
||||||
paths = [ self.nixosConfigurations."odo".config.system.build.toplevel ];
|
paths =
|
||||||
|
(builtins.map (name: self.nixosConfigurations."${name}".config.system.build.toplevel) [
|
||||||
|
"odo"
|
||||||
|
"odowork"
|
||||||
|
"quark"
|
||||||
|
"family_disks"
|
||||||
|
])
|
||||||
|
++ [ self.packages."${system}".hydra.vm_iso ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -81,6 +81,7 @@ in
|
|||||||
let
|
let
|
||||||
enabled_targets = [
|
enabled_targets = [
|
||||||
"wip"
|
"wip"
|
||||||
|
"wip_kubernetes"
|
||||||
"odo"
|
"odo"
|
||||||
"odo_update"
|
"odo_update"
|
||||||
"odowork"
|
"odowork"
|
||||||
|
|||||||
@@ -7,6 +7,13 @@ output_directory = "/home/nixworker/persist/nix_builder"
|
|||||||
path = "nix/configuration"
|
path = "nix/configuration"
|
||||||
attr = "wip"
|
attr = "wip"
|
||||||
|
|
||||||
|
[[targets]]
|
||||||
|
name = "wip_kubernetes"
|
||||||
|
repo = "https://code.fizz.buzz/talexander/machine_setup.git"
|
||||||
|
branch = "wip"
|
||||||
|
path = "nix/kubernetes"
|
||||||
|
attr = "wip"
|
||||||
|
|
||||||
[[targets]]
|
[[targets]]
|
||||||
name = "odo"
|
name = "odo"
|
||||||
repo = "https://code.fizz.buzz/talexander/machine_setup.git"
|
repo = "https://code.fizz.buzz/talexander/machine_setup.git"
|
||||||
|
|||||||
@@ -149,10 +149,11 @@
|
|||||||
// {
|
// {
|
||||||
wip = nixpkgs.legacyPackages."${system}".symlinkJoin {
|
wip = nixpkgs.legacyPackages."${system}".symlinkJoin {
|
||||||
name = "wip";
|
name = "wip";
|
||||||
paths = [
|
paths = (
|
||||||
self.nixosConfigurations."controller0".config.system.build.toplevel
|
builtins.map (name: self.nixosConfigurations."${name}".config.system.build.toplevel) (
|
||||||
self.nixosConfigurations."worker0".config.system.build.toplevel
|
builtins.attrNames self.nixosConfigurations
|
||||||
];
|
)
|
||||||
|
);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user