!UKDpaKNNsBpOPfLWfX:zhaofeng.li

Colmena

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

Load older messages


SenderMessageTime
24 May 2024
@raitobezarius:matrix.orgraitobezarius Zhaofeng Li: I have https://git.dgnum.eu/DGNum/colmena/commit/5af648179813baf7152245833fcf2b01053854df lying around which supports fully custom evaluation with some knobs to disable "activation" so people does not deploy by mistake 17:21:16
@raitobezarius:matrix.orgraitobezariusHow big is your appetite for it :-) ?17:21:24
@raitobezarius:matrix.orgraitobezariusThere's no integration testing yet and no proper documentation17:21:30
@raitobezarius:matrix.orgraitobezariusI think the way I would go about it would be to have unit testing or integration testing for custom evaluation, verify that I can dump a system entirely, verify that we cannot deploy undeployable systems17:21:54
@raitobezarius:matrix.orgraitobezariusAnd there'd be a "custom evaluation" page17:21:58
@raitobezarius:matrix.orgraitobezariusAlso, I think I need to rework the "brutal" disablement of the key module you wrote which are NixOps compatible because they are not compatible in general to any custom evaluation system17:22:17
@raitobezarius:matrix.orgraitobezariusNext up on my list is custom activation but it will take a certain amount of designs to get there17:22:44
@raitobezarius:matrix.orgraitobezariusI'm slicing this part because custom activation will be even more noisy code wise17:22:54
@zhaofeng:zhaofeng.liZhaofeng LiNeat, just skimmed and changes to the eval part are smaller than what I expected17:23:29
@raitobezarius:matrix.orgraitobezariusYeah, it worked much better than expected17:23:46
@raitobezarius:matrix.orgraitobezariusIt's a bit clunky backward-compatible wise17:23:53
@raitobezarius:matrix.orgraitobezarius I would need to test more scenarios and would recommend making deployment.systemType mandatory on the long term, etc. 17:24:05
@raitobezarius:matrix.orgraitobezariusbut here's an example: https://git.dgnum.eu/DGNum/infrastructure/src/branch/colmena-liminix/hive.nix where both system types areu sed17:24:26
@raitobezarius:matrix.orgraitobezarius * but here's an example: https://git.dgnum.eu/DGNum/infrastructure/src/branch/colmena-liminix/hive.nix where both system types are used17:24:28
@raitobezarius:matrix.orgraitobezariusNixOS ones and Liminix ones17:24:31
@raitobezarius:matrix.orgraitobezariusit's a bit difficult to read our machinery but: https://git.dgnum.eu/DGNum/infrastructure/src/branch/colmena-liminix/meta/nodes.nix#L90-L95 mention the Liminix node and get massaged into https://git.dgnum.eu/DGNum/infrastructure/src/branch/colmena-liminix/hive.nix#L33-L3617:25:16
@raitobezarius:matrix.orgraitobezariusI am also trying to wonder how to move the networking part inside of the Hive expressions17:26:23
@raitobezarius:matrix.orgraitobezariusAnd let user define new networking mechanisms17:26:27
@raitobezarius:matrix.orgraitobezariusUsecase: deploy over serial console17:26:32
@raitobezarius:matrix.orgraitobezarius(or deploy over SSH3)17:26:48
@raitobezarius:matrix.orgraitobezarius I thought of having something like NixDefined implementation of Host 17:27:33
@raitobezarius:matrix.orgraitobezarius that gets in input some scripts that can perform all the trait operations of Host 17:27:44
@raitobezarius:matrix.orgraitobezariuswhich gets passed via Nix17:27:51
@zhaofeng:zhaofeng.liZhaofeng LiHmm, that could also be precursor to supporting alternative deployment models (pull-based, some kind of central dispatch server, etc.)17:29:21
@raitobezarius:matrix.orgraitobezariuspossibly17:30:17
@raitobezarius:matrix.orgraitobezariusI admit that the design space is so immense that it's hard to be too generic17:30:27
@zhaofeng:zhaofeng.liZhaofeng LiIndeed, we have to be opinionated in many cases17:50:59
29 May 2024
@raitobezarius:matrix.orgraitobezarius changed their display name from raitobezarius to raitobezarius (DECT: 7248).17:09:53
30 May 2024
@polygon:catgirl.cloudUnit 1721344 [polygon] (it/its, es/ihr) changed their display name from polygon system (she/it/they) to polygon system (she/it/they) [DECT 7659].09:31:28
@tammi:greyseal.euTammi (ey/em) left the room.15:42:19

Show newer messages


Back to Room ListRoom Version: 6