Colmena | 304 Members | |
| A simple, stateless NixOS deployment tool - https://github.com/zhaofengli/colmena | 104 Servers |
| Sender | Message | Time |
|---|---|---|
| 13 Mar 2022 | ||
It eval all nodes' deployment config only if you match against tags like --on @some-tag. If you just match against names, it will just evaluate the matched attributes. | 03:04:43 | |
| * It will eval all nodes' `deployment` config only if you match against tags like `--on @some-tag`. If you just match against names, it will just evaluate the matched attributes. | 03:04:55 | |
| yeah that seems to be broken 😅 | 03:11:43 | |
| will file a proper bug report | 03:11:48 | |
In reply to @winterqt:nixos.devOh right, are you using 0.2 or the unstable version? That was done post-release as part of the deployment logic rewrite | 03:14:11 | |
| I'm using 2b281286d00ac9a0ae6f671b3b9b6db27b9e0936 | 03:15:25 | |
| Hmm, then it should have been there. Probably some bug then | 03:17:27 | |
| want me to file a proper bug report | 03:17:36 | |
| That would be great, with a small hive.nix/flake.nix that can trigger this 👍 | 03:21:23 | |
| 14 Mar 2022 | ||
| How can I deploy to a host with no internet access (or working name resolution)? Builds fail when the remote host tries to download from the the nixos cache. I'd like to still be able to use the cache but download it from the build machine instead of target host. | 01:34:34 | |
| * How can I deploy to a host with no internet access (or working name resolution)? Builds fail when the remote host tries to download from the the nixos cache. I'd like to still be able to use the cache but download it from the build machine instead of target host if that's reasonable. | 01:34:46 | |
In reply to @cw:kernelpanic.cafe --no-substitutes which will probably be renamed in the future (https://github.com/zhaofengli/colmena/issues/59) | 01:36:52 | |
In reply to @zhaofeng:zhaofeng.li
Thank you very much! | 01:45:50 | |
| I should have asked this a long time ago. | 01:46:09 | |
| I just disable the binary caches in the configs of machines with no internet. Less typing | 04:38:09 | |
In reply to @buckley310:matrix.orgSometimes the lack of internet isn't planned, heh | 05:42:08 | |
| lol | 13:45:46 | |
| 15 Mar 2022 | ||
| So when using buildOnTarget, what decides if the drv should be built and copied on the host or built on the target? I know most do the latter, but things such as a source folder (from a flake input) have definitely gotten copied before, so... | 19:48:55 | |
| 16 Mar 2022 | ||
In reply to @winterqt:nixos.devOops, missed this one. I think sources (fixed hash paths produced by addToStore or similar) are always directly copied, and because Colmena passes --include-outputs when copying the .drvs existing outputs will be copied as well | 21:23:16 | |
| 17 Mar 2022 | ||
[zhaofengli/colmena] xddxdd opened
issue
#65: Colmena build is stuck unless "-v" argument is present
| 05:38:05 | |
| [zhaofengli/colmena] zhaofengli closed issue #65: Colmena build is stuck unless "-v" argument is present | 06:34:24 | |
| 20 Mar 2022 | ||
| I wish there was a way we could parallelize the derivation copy step for buildOnTarget, this takes ages on large upgrades >.< | 05:04:10 | |
| especially with node packages 😅 | 05:04:33 | |
| 21 Mar 2022 | ||
In reply to @winterqt:nixos.devI looked at it, and it appears that Nix used to be able to copy paths in parallel, but it's disabled for some reason: https://discourse.nixos.org/t/speed-up-nix-copy/15884/5 | 00:34:55 | |
copyPaths is used by both nix copy and nix-copy-closure (through copyClosure) | 00:35:06 | |
| I wish I had the motivation to migrate to colmena already 😽 | 01:17:52 | |
In reply to @zhaofeng:zhaofeng.liI'll ask around | 01:39:28 | |
| Definitely interesting | 01:39:32 | |
| [zhaofengli/colmena] Repo forked into winterqt/colmena | 01:46:02 | |
| [zhaofengli/colmena] winterqt opened
pull request
#66: cli: add reboot command | 01:57:33 | |