Colmena | 325 Members | |
| A simple, stateless NixOS deployment tool - https://github.com/zhaofengli/colmena | 111 Servers |
| Sender | Message | Time |
|---|---|---|
| 9 Jun 2022 | ||
| anyway, this works great. thank you :) | 19:22:21 | |
| 10 Jun 2022 | ||
| 08:54:46 | ||
| 18 Jun 2022 | ||
| Hey Zhaofeng Li: would you be willing to consider https://github.com/zhaofengli/colmena/pull/89? I wanted to continue hacking along on my colmena adoption, but I feel like a tightrope walker without security if I need to deviate too much from upstream. I think I'm just not ready yet for forking, so I'd appreciate if I can build on those building blocks. | 02:10:55 | |
| * Hey Zhaofeng Li: would you be willing to consider https://github.com/zhaofengli/colmena/pull/89? I wanted to continue hacking along on my colmena adoption, but I feel like a tightrope walker without security if I need to deviate too much from upstream. I think I'm just not ready yet for fully forking, so I'd appreciate if I can build on those building blocks. | 02:11:12 | |
| * Hey Zhaofeng Li: would you be willing to consider https://github.com/zhaofengli/colmena/pull/89? I wanted to continue hacking along on my colmena adoption, but I feel like a tightrope walker without security if I need to deviate too much from upstream. I think I'm just not ready yet for fully forking, so I'd appreciate if I could build on those building blocks. | 02:11:26 | |
| * Hey Zhaofeng Li: would you be willing to consider https://github.com/zhaofengli/colmena/pull/89? I wanted to continue hacking along on my colmena adoption, but I feel like a tightrope walker without security if I need to deviate too much from upstream. | 02:11:56 | |
| 10:03:38 | ||
| 19 Jun 2022 | ||
In reply to @blaggacao:matrix.orgHi sorry, been busy in the past couple of days. Minimizing the eval interface should be fine and I'll review and merge it today. | 20:09:17 | |
| Note that the eval interface is still subject to change in the near future, like for the upcoming auto rollback feature as well as https://github.com/zhaofengli/colmena/pull/96 | 20:09:18 | |
| Since using deploy-rs, I never used the auto-rollback feature. But this is probably less a fault of the rollback fearure amd more of the systemd-mediated choreographed (not orchestrated) reconciliation loop. | 20:49:17 | |
| (i'm alluding at the choreography vs orchestration discussion, here) | 20:50:28 | |
| 21 Jun 2022 | ||
| 00:04:54 | ||
| (New to Colmena and just Nix in general). How do y'all deal with bootstrapping secrets in a Colmena deployment. For example, I have a secret key that I don't want to keep in repo. So every time a developer clones the colmena nix code they would have to get the secret key and create the file on their local machine. I want to split my colmena deploymeny into 2 parts:
Does this make sense to do? | 00:24:45 | |
| * (New to Colmena and just Nix in general). How do y'all deal with bootstrapping secrets in a Colmena deployment. For example, I have a secret key that I don't want to keep in repo. So every time a developer clones the colmena nix code they would have to get the secret key and create the file on their local machine. I want to split my colmena deploymeny into 2 parts:
Does this make sense to do? | 00:25:36 | |
| lemmalamma: colmena stores the secrets unencrypted on the target hosts, so these "unauthorised" users can still fairly trivially get the secret keys by deploying their own code to the machines. | 01:03:55 | |
| you also don't need to split it into two, since colmena supports using a command to get secrets -- so you can store them together with your deployment, encrypted (with a tool of your choice) to the authorised users. | 01:05:11 | |
In reply to @linus:schreibt.jetztThis part makes sense. I don't want to enforce access control here. I just want developers who work on infrastructure code's lives easier by not requiring them to set up local secrets manually every time. | 01:07:15 | |
In reply to @linus:schreibt.jetztWhat common tools are there? | 01:07:32 | |
| gpg and age are the two main contenders I'd say | 01:07:44 | |
| gpg optionally wrapped with pass | 01:08:04 | |
| there's also sops and sops-nix, but I know too little about it to say if it applies here or not | 01:08:48 | |
| it's definitely on my list of things to look into one day, because it seems like it can do some nice things | 01:09:15 | |
| you can also check out agenix, it is basically sops-nix but with age and I am happily using it, not with colmena yet though.. it is dead simple especially when using the system ssh keys in /etc/ssh/ | 06:27:34 | |
In reply to @tiha889a:tu-dresden.deI made sops-nix work for me after a bit of wrangling. | 10:11:35 | |
| i'm wondering: is there a collection/ examples of how people use colmena? | 12:35:50 | |
| I'm using the colmena from git (commit 9db25bd) with flakes. I'm struggling to understand how to define a hive w/ 2 systems where one is using | 14:59:43 | |
| 15:02:05 | |
In reply to @janejasperous:one.ems.hostThx, yes that works! | 15:30:30 | |
| Until I change the
| 15:32:02 | |
In reply to @dantefromhell:matrix.orgEither use deploy.buildOnTarget, enable qemu binfmt emulation or try and get it running using pkgsCross for true cross compilation | 15:33:22 | |