12 Nov 2021 |
David Arnold (blaggacao) | Oh the runner where moved. | 21:50:57 |
David Arnold (blaggacao) | Look for rg run- & the associated codepath in that cicero repo. It has quite some of them we could reusue for bud. | 21:51:43 |
David Arnold (blaggacao) | * Look for `rg 'run-'` & the associated codepath in that cicero repo. It has quite some of them we could reusue for bud. | 21:51:52 |
David Arnold (blaggacao) | I also have a makes runner in my mind 😆 | 21:52:28 |
David Arnold (blaggacao) | Sure, bud shall be obly ever the wrapper that knows how to recover host & user info from the environment and expose it uniformly to scripts so that a sensible default action in the current environment can be implemented. | 21:53:32 |
David Arnold (blaggacao) | * Sure, `bud` shall be only ever the wrapper that knows how to recover host & user info from the environment and expose it uniformly to scripts so that a sensible default action in the current environment can be implemented. | 21:53:41 |
13 Nov 2021 |
@gtrunsec:matrix.org | I found another solution for jobs. just an idea to here rbt/006-jobs.md at examples · rtfeldman/rbt | 08:19:37 |
@gtrunsec:matrix.org | * I found another solution for jobs. just an idea to here: https://github.com/rtfeldman/rbt/blob/examples/docs/adrs/006-jobs.md | 08:20:03 |
@gtrunsec:matrix.org | * I found another solution for jobs. just an idea to share: https://github.com/rtfeldman/rbt/blob/examples/docs/adrs/006-jobs.md | 08:27:46 |
zrsk | Hi, I can't understand how to use deploy-rs , if I run deploy '.#pc inside my flake it starts building all my hosts (pc is the hostname of one of my configuration). | 13:42:51 |
zrsk | * Hi, I can't understand how to use deploy-rs , if I run deploy '.#pc inside my flake it starts building all my hosts (pc is the hostname of one of my configurations). | 13:43:57 |
genadij.udarov | deploy -d --hostname some-ssh-host-or-ip '.#nixoshost' --skip-checks --ssh-user root Will build nixoshost on your PC and push it to some-ssh-host-or-ip . I wasn't able to find a way to build remotely, but I wasn't looking much either.
If you'll be able to find it, I'm interested in that as well.
| 13:44:49 |
genadij.udarov | * deploy -d --hostname some-ssh-host-or-ip '.#nixoshost' --skip-checks --ssh-user root Will build nixoshost on your PC and push it to some-ssh-host-or-ip logging in with user root . I wasn't able to find a way to build remotely, but I wasn't looking much either.
If you'll be able to find it, I'm interested in that as well.
| 13:45:09 |
genadij.udarov | I think this one is related: https://github.com/serokell/deploy-rs/issues/12 | 13:45:54 |
zrsk | In reply to @genadij.udarov:matrix.org
deploy -d --hostname some-ssh-host-or-ip '.#nixoshost' --skip-checks --ssh-user root Will build nixoshost on your PC and push it to some-ssh-host-or-ip logging in with user root . I wasn't able to find a way to build remotely, but I wasn't looking much either.
If you'll be able to find it, I'm interested in that as well.
It's perfect, my goal is to build locally. | 13:46:21 |
zrsk | After I'll try it, thank you. | 13:46:35 |
genadij.udarov | You might want to omit the --skip-checks , at least initially. It is faster with it, but you might find bugs earlier, as long as there are checks for those bugs :-D | 13:47:26 |
genadij.udarov | Btw, there's a glitch with nix-copy (which is used by deploy-rs ) which took me a while to figure out: if you enter the copy stage and your connection drops (i.e. your PC enters sleep mode, you change conn from wifi to ethernet, etc), you won't be able to resume, since nixos daemon will be locked by the first connection. Solution: kill the nix-store --serve process (IIRC the process name). | 13:49:42 |
genadij.udarov | The symptoms of such state: you see copying YYYYY to ZZZZ without any further progress. Hopefully that won't happen to you, but in case it does, be prepared. :-D | 13:50:45 |
genadij.udarov | I've been waiting for an hour or two in the copying state until I've realised that there's a deadlock :-D | 13:51:12 |
zrsk | * Later I'll try it, thank you. | 15:06:32 |
zrsk | genadij.udarov: just happened what you described with the same symptoms and killing the process seems to work. Thank you! | 17:05:26 |
genadij.udarov | It would be nice if deploy-rs would print something waiting for nixos daemon lock , or indicate that it's doing nothing in another way. | 18:00:48 |
genadij.udarov | I think I'll create a ticket for that, since it looks like I'm not the only one to get in that state. | 18:01:34 |
genadij.udarov | Just realised, that it might be nix-copy issue rather than deploy-rs . Could anyone confirm that? | 18:02:09 |
14 Nov 2021 |
David Arnold (blaggacao) | In reply to @genadij.udarov:matrix.org It would be nice if deploy-rs would print something waiting for nixos daemon lock , or indicate that it's doing nothing in another way. Rust is fun. 🤣 Go ahead. I'm also interested in this. | 15:14:28 |
genadij.udarov | In reply to @blaggacao:matrix.org Rust is fun. 🤣 Go ahead. I'm also interested in this. Yeah it is, I've spent some time with deploy-rs code already when trying to make it work :-D Though I'm not sure if we can detect that from nix-copy output, as there might be none :-D | 15:26:13 |
16 Nov 2021 |
ultranix | what's a good way to use agenix to hide strings in the config? | 20:15:16 |
ultranix | it wont evaluate if i try to read a string from builtins.readFile /run/secrets/* since its a impure path | 20:16:29 |
ultranix | David Arnold (blaggacao): good to still you have a voice in some places! | 20:19:53 |