!UKDpaKNNsBpOPfLWfX:zhaofeng.li

Colmena

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

Load older messages


SenderMessageTime
13 Jul 2023
@zhaofeng:zhaofeng.liZhaofeng LiI think it makes sense to have a flag to opt-out02:31:34
@zhaofeng:zhaofeng.liZhaofeng Li
In reply to @aktaboot:tchncs.de
hello,

Is it possible to (re)use lib.nixosSystem definitions with colmena directly ?
Not directly but there are multiple converters in https://github.com/zhaofengli/colmena/issues/60
02:33:26
@julian:nekover.se@julian:nekover.se

(oof, somehow missed the notification)

No worries!

 

It's enabled by default since there isn't a good way to manually accept the keys when deploying to multiple hosts in parallel yet. There isn't an option to disable it right now, but perhaps it can be overridden by SSH_CONFIG_FILE (not sure - need to test)

Ahh okay, that’s a fair reason. I guess it could still be made more clear tho, but whatever.

I might test that env var as well, since I also have some other use cases for different SSH configs.

If I knew Rust, I would also just attempt to work on an option for configuring Colmena SSH, but sadly I don’t. However in the end I can still easily enough patch Colmena to get it to do what I need.

06:43:38
@aktaboot:tchncs.de@aktaboot:tchncs.de changed their profile picture.06:56:37
@linus:schreibt.jetztLinux HackermanIs there a matrix channel for attic?21:14:04
@hexa:lossy.networkhexa (he found #nixos-selfhosted-binary-cache:matrix.org btw) 23:16:33
14 Jul 2023
@lehmanator:gnulinux.club@lehmanator:gnulinux.club joined the room.18:42:10
16 Jul 2023
@shyim:matrix.orgShyimHow do I get the complete log when a apply fails? 10:23:14
@hexa:lossy.networkhexacolmena -v?11:20:33
@hexa:lossy.networkhexa * colmena build -v?11:21:01
@huyage:matrix.orglemmalamma set a profile picture.20:36:39
20 Jul 2023
@fpletz:lodere.esfpletz changed their profile picture.03:30:26
@cathalmullan:matrix.org@cathalmullan:matrix.org joined the room.14:33:00
21 Jul 2023
@huyage:matrix.orglemmalamma

Hey folks! Happy Friday. Colmena's README says it's:

a thin wrapper over Nix commands like nix-instantiate and nix-copy-closure
What does the manual process with nix-instantiate and nix-copy-closure look like? What else is Colmena automating for me?

22:16:12
@huyage:matrix.orglemmalamma *

Hey folks! Happy Friday. Colmena's README says it's:

a thin wrapper over Nix commands like nix-instantiate and nix-copy-closure

What does the manual process with nix-instantiate and nix-copy-closure look like? What else is Colmena automating for me?

22:16:17
@zhaofeng:zhaofeng.liZhaofeng Li It's basically nix-build '<nixpkgs/nixos>' --argstr configuration ..., nix-copy-closure --to root@remote /nix/store/...-nixos-system-remote and then running the activation script. In addition to those, Colmena provides a framework for accessing configurations of other nodes, out-of-band secrets deployment, and some other features 22:19:10
23 Jul 2023
@huyage:matrix.orglemmalamma
In reply to @zhaofeng:zhaofeng.li
It's basically nix-build '<nixpkgs/nixos>' --argstr configuration ..., nix-copy-closure --to root@remote /nix/store/...-nixos-system-remote and then running the activation script. In addition to those, Colmena provides a framework for accessing configurations of other nodes, out-of-band secrets deployment, and some other features
Thanks! I asked because I want to try to hand-deploy a few times so I can understand what's involved.
03:10:41
@purepani:matrix.orgpurepani joined the room.03:23:27
26 Jul 2023
@janik0:matrix.orgJanik (they/them) changed their display name from Janik (they/them) (es/ihr) to Janik (they/them).18:20:10
27 Jul 2023
@ribosomerocker:matrix.orgribosomerocker joined the room.03:03:44
3 Aug 2023
@silvio:booq.org@silvio:booq.org left the room.16:20:31
4 Aug 2023
@raitobezarius:matrix.orgraitobezariushow do we build locally with colmena?00:03:34
@raitobezarius:matrix.orgraitobezariusI'm trying00:03:35
@raitobezarius:matrix.orgraitobezarius colmena --nix-option builders "" apply-local --sudo --verbose with no avail 00:03:38
@raitobezarius:matrix.orgraitobezariusah it's probably not an option lol00:04:15
@zhaofeng:zhaofeng.liZhaofeng Li Hmm, it should work 00:04:53
@raitobezarius:matrix.orgraitobezariusI don't think it had success at least with me00:47:10
@raitobezarius:matrix.orgraitobezariusI am certain it always rebuild on remote builders00:47:18
@raitobezarius:matrix.orgraitobezariuslike even --build-on-target will use my remote builders01:23:35
@raitobezarius:matrix.orgraitobezariusrightly though…01:23:40

Show newer messages


Back to Room ListRoom Version: 6