Alexander Bantyev
Alexander Bantyev
Nope, no idea unfortunately. Intuitively, may this be related to restart limits?
At this point might as well rewrite it from scratch. Wouldn't be the first time in this project's life ([3] [2] [1] [0]) [3]: https://github.com/serokell/deploy-rs [2]: https://github.com/serokell/deploy [1]: https://github.com/serokell/stakerdao-infra/pull/4/commits/612f0a3c845a560f42212978810769d604641018 [0]:...
As for whether it's actually a good idea? I don't know. When I started writing deploy, the vision I had was of a really simple and dumb script that just...
Wait, what's `uri` in the deploy config? Can't find that in the source code. I thought it was `hostname`.
No, I mean the fact that `deploy-rs` seems to show `uri` as part of the deploy config: ``` [newton.system] user = "root" path = "/nix/store/jpl52r9pr5gg2dl46xvb01k4jafkzqy8-activatable-nixos-system-newton-22.05.20220626.cd90e77" uri = "ssh://root@[2a02:c206:3009:3317::1]:22" ssh_opts =...
I would expect `hostname`.
Yep. This is a "hack" to remove the need to evaluate the path twice, and it saves a lot of time for IFD situations. I wonder if there's some better...
The error comes from here: https://github.com/serokell/deploy-rs/blob/master/src/push.rs#L63
Did auto-rollback/magic-rollback not help in that case? I don't think I like the idea of adding arbitrary checks with user interaction required, since often we do indeed want to deploy...
> This doesn't work in '' stype strings and requires a bit more magic: > ''${"\${NOT_EXPANDED_BY_NIX}"}'' Actually, just ``` nix-repl> ''''${NOT_EXPANDED_BY_NIX}'' "${NOT_EXPANDED_BY_NIX}" ```