| 24 May 2024 |
raitobezarius | 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 | How big is your appetite for it :-) ? | 17:21:24 |
raitobezarius | There's no integration testing yet and no proper documentation | 17:21:30 |
raitobezarius | I 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 systems | 17:21:54 |
raitobezarius | And there'd be a "custom evaluation" page | 17:21:58 |
raitobezarius | Also, 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 system | 17:22:17 |
raitobezarius | Next up on my list is custom activation but it will take a certain amount of designs to get there | 17:22:44 |
raitobezarius | I'm slicing this part because custom activation will be even more noisy code wise | 17:22:54 |
Zhaofeng Li | Neat, just skimmed and changes to the eval part are smaller than what I expected | 17:23:29 |
raitobezarius | Yeah, it worked much better than expected | 17:23:46 |
raitobezarius | It's a bit clunky backward-compatible wise | 17:23:53 |
raitobezarius | I would need to test more scenarios and would recommend making deployment.systemType mandatory on the long term, etc. | 17:24:05 |
raitobezarius | but here's an example: https://git.dgnum.eu/DGNum/infrastructure/src/branch/colmena-liminix/hive.nix where both system types areu sed | 17:24:26 |
raitobezarius | * but here's an example: https://git.dgnum.eu/DGNum/infrastructure/src/branch/colmena-liminix/hive.nix where both system types are used | 17:24:28 |
raitobezarius | NixOS ones and Liminix ones | 17:24:31 |
raitobezarius | it'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-L36 | 17:25:16 |
raitobezarius | I am also trying to wonder how to move the networking part inside of the Hive expressions | 17:26:23 |
raitobezarius | And let user define new networking mechanisms | 17:26:27 |
raitobezarius | Usecase: deploy over serial console | 17:26:32 |
raitobezarius | (or deploy over SSH3) | 17:26:48 |
raitobezarius | I thought of having something like NixDefined implementation of Host | 17:27:33 |
raitobezarius | that gets in input some scripts that can perform all the trait operations of Host | 17:27:44 |
raitobezarius | which gets passed via Nix | 17:27:51 |
Zhaofeng Li | Hmm, that could also be precursor to supporting alternative deployment models (pull-based, some kind of central dispatch server, etc.) | 17:29:21 |
raitobezarius | possibly | 17:30:17 |
raitobezarius | I admit that the design space is so immense that it's hard to be too generic | 17:30:27 |
Zhaofeng Li | Indeed, we have to be opinionated in many cases | 17:50:59 |
| 29 May 2024 |
| raitobezarius changed their display name from raitobezarius to raitobezarius (DECT: 7248). | 17:09:53 |
| 30 May 2024 |
| Unit 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 (ey/em) left the room. | 15:42:19 |