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