Add a "wip" target in nix_builder for testing updates.
This commit is contained in:
@@ -142,7 +142,15 @@
|
|||||||
}) (nixpkgs.lib.attrsets.filterAttrs (hostname: nodeConfig: nodeConfig.system == system) nodes)
|
}) (nixpkgs.lib.attrsets.filterAttrs (hostname: nodeConfig: nodeConfig.system == system) nodes)
|
||||||
);
|
);
|
||||||
in
|
in
|
||||||
machines
|
(
|
||||||
|
machines
|
||||||
|
// {
|
||||||
|
wip = nixpkgs.legacyPackages."${system}".symlinkJoin {
|
||||||
|
name = "wip";
|
||||||
|
paths = [ self.nixosConfigurations."odo".config.system.build.toplevel ];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -80,6 +80,7 @@ in
|
|||||||
systemd.services."build-cache" =
|
systemd.services."build-cache" =
|
||||||
let
|
let
|
||||||
enabled_targets = [
|
enabled_targets = [
|
||||||
|
"wip"
|
||||||
"odo"
|
"odo"
|
||||||
"odo_update"
|
"odo_update"
|
||||||
"odowork"
|
"odowork"
|
||||||
|
|||||||
@@ -1,5 +1,12 @@
|
|||||||
output_directory = "/home/nixworker/persist/nix_builder"
|
output_directory = "/home/nixworker/persist/nix_builder"
|
||||||
|
|
||||||
|
[[targets]]
|
||||||
|
name = "wip"
|
||||||
|
repo = "https://code.fizz.buzz/talexander/machine_setup.git"
|
||||||
|
branch = "wip"
|
||||||
|
path = "nix/configuration"
|
||||||
|
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"
|
||||||
|
|||||||
Reference in New Issue
Block a user