!UUqahLbShAYkkrXmKs:matrix.org

DevOS

34 Members
Seeking help and geeking out together on https://github.com/divnix/devos & https://github.com/divnix/digga10 Servers

Load older messages


SenderMessageTime
12 Nov 2021
@blaggacao:matrix.orgDavid Arnold (blaggacao)Oh the runner where moved.21:50:57
@blaggacao:matrix.orgDavid 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
@blaggacao:matrix.orgDavid 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
@blaggacao:matrix.orgDavid Arnold (blaggacao) I also have a makes runner in my mind 😆 21:52:28
@blaggacao:matrix.orgDavid 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
@blaggacao:matrix.orgDavid 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@gtrunsec:matrix.orgI found another solution for jobs. just an idea to here rbt/006-jobs.md at examples · rtfeldman/rbt08:19:37
@gtrunsec:matrix.org@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.md08:20:03
@gtrunsec:matrix.org@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.md08:27:46
@aciceri:nixos.devzrsk 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
@aciceri:nixos.devzrsk * 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:matrix.orggenadij.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:matrix.orggenadij.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:matrix.orggenadij.udarovI think this one is related: https://github.com/serokell/deploy-rs/issues/1213:45:54
@aciceri:nixos.devzrsk
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
@aciceri:nixos.devzrskAfter I'll try it, thank you.13:46:35
@genadij.udarov:matrix.orggenadij.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:matrix.orggenadij.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:matrix.orggenadij.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:matrix.orggenadij.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
@aciceri:nixos.devzrsk* Later I'll try it, thank you.15:06:32
@aciceri:nixos.devzrsk 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:matrix.orggenadij.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:matrix.orggenadij.udarovI 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:matrix.orggenadij.udarov Just realised, that it might be nix-copy issue rather than deploy-rs. Could anyone confirm that? 18:02:09
14 Nov 2021
@blaggacao:matrix.orgDavid 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:matrix.orggenadij.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:matrix.orgultranixwhat's a good way to use agenix to hide strings in the config?20:15:16
@ultranix:matrix.orgultranixit wont evaluate if i try to read a string from builtins.readFile /run/secrets/* since its a impure path20:16:29
@ultranix:matrix.orgultranix David Arnold (blaggacao): good to still you have a voice in some places! 20:19:53

Show newer messages


Back to Room ListRoom Version: 6