!UKDpaKNNsBpOPfLWfX:zhaofeng.li

Colmena

306 Members
A simple, stateless NixOS deployment tool - https://github.com/zhaofengli/colmena105 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
19 Aug 2023
@whentze:matrix.orgWanja Hentzeit all builds on the deploying host, not the deployed host16:22:46
@whentze:matrix.orgWanja Hentzewhich is a beefy CI machine in this case16:23:07
@whentze:matrix.orgWanja Hentzemaybe you're confused because you're used to running nixos-rebuild on the hosts16:26:04
@whentze:matrix.orgWanja Hentzecolmena by default builds locally and then pushes to the remote hosts16:26:17
@whentze:matrix.orgWanja Hentzeso in that sense you're automatically sharing built things as long as you're deploying several hosts from the same local host16:26:42
@khalilsantana:matrix.org@khalilsantana:matrix.org But I mean, say if I add some new package to my config.nix, that will be built locally (deployment machine) and then the artefacts copied to the remote targets. But can I somehow fetch whatever package upgrades needed for existing hosts, build them once and share them across hosts using colmena (I seems like no?) 19:16:04
@whentze:matrix.orgWanja Hentze(I don't understand the question but maybe somebody else does)19:21:37
@zhaofeng:zhaofeng.liZhaofeng Li
In reply to @khalilsantana:matrix.org
But I mean, say if I add some new package to my config.nix, that will be built locally (deployment machine) and then the artefacts copied to the remote targets. But can I somehow fetch whatever package upgrades needed for existing hosts, build them once and share them across hosts using colmena (I seems like no?)
This is what currently happens. When you deploy a new config, Colmena won't copy paths that already exist on the remote host.
19:24:38
@zhaofeng:zhaofeng.liZhaofeng Li For example, you edit networking.hostName, the new system profile closure is mostly identical to the old one except for a few paths 19:25:59

Show newer messages


Back to Room ListRoom Version: 6