gchristensen changed the topic of #nixops to: NixOps related talk | logs: https://logs.nix.samueldr.com/nixops/ https://meet.jit.si/NixOpsReview
bhipple has quit [Ping timeout: 258 seconds]
bhipple has joined #nixops
wykurz has joined #nixops
<wykurz> hello, is nixops master in a usable state? I'm a bit baffled how to use it on a non-test deployment. I just build the docs but they seem to be very much work in progress. any pointers would be useful...
<wykurz> for context - I'm using some features that didn't make it to 1.7 (aws persistent spot request). that worked in nixos 19.03 but since moving to 20.03 that version of code doesn't work, and latest master has changed dramatically
<bhipple> wykurz: as far as I know, nixops master is completely hosed at the moment :/
<{^_^}> nixops#1324 (by jhillyerd, 2 weeks ago, open): Unclear how to install plugins
<wykurz> bhipple: hey! that has been my impression as well :/ is there a tag or a stable branch I can sync to though?
<bhipple> Master by itself might build, but if you need some plugins I don't think it works at all. It looks like there's a WIP port for the nixops-aws plugin here, but I'm not sure what the state is: https://github.com/NixOS/nixops-aws/pull/101
<{^_^}> nixops-aws#101 (by tewfik-ghariani, 4 days ago, open): Poetry2nixify nixops_aws
<wykurz> yeah, master builds fine but as I mentioned (and you confirmed) it's unclear what next. I'll take a look at syncing nixops-aws to what you sent, I was using one from master and had no luck
<bhipple> If you checkout nixops-aws on master, and nixops itself on 2b63a9ae59e4d3ef5f53a394b95ba575080d721d
<bhipple> (the last commit before the poetry stuff landed and broke everything)
<bhipple> Then this should work: nix-build release.nix -A build.x86_64-linux --arg p "(p: [ (p.callPackage ../nixops-aws/release.nix {}) ])"
<bhipple> That's the lastest-and-greatest AWS plugin, and a relatively new NixOps. It's what I'm using for my AWS cluster and it's working pretty well
<bhipple> (on 20.03)
<bhipple> Hopefully in a couple days the poetry mess will be all sorted out and we'll be back to a working build
<wykurz> that's awesome, let me give that a try!
<wykurz> bhipple: wooh wooh, so far so good! thanks again!
<bhipple> Nice!
wykurz has quit [Quit: Leaving]
JJJollyjim has joined #nixops
cole-h has quit [Quit: Goodbye]
tewfik has joined #nixops
<tewfik> Hello
<tewfik> Can anyone explain the new process of defining resources?
<tewfik> I've seen per this that all XML references is removed and now we are using JSON : https://github.com/NixOS/nixops/pull/1275
<{^_^}> nixops#1275 (by adisbladis, 5 weeks ago, merged): Move from xml intermediate Nix representation to JSON
<tewfik> At the same time, I thought this was already the case when the DiffEngine was introduced : https://github.com/NixOS/nixops/issues/648
<{^_^}> nixops#648 (by AmineChikhaoui, 3 years ago, closed): Restructure the ResourceState class to make it dictionary based (store the state as a key value dict)
<tewfik> So it's pretty confusing to me and even the 'nixops-terraform' example was not that helpful : https://github.com/adisbladis/nixops-terraform/blob/master/nixops_terraform/resources.py
<tewfik> cc @adisbladis
cole-h has joined #nixops
monokrome has quit [Ping timeout: 272 seconds]
monokrome has joined #nixops
tewfik has quit [Ping timeout: 256 seconds]
bhipple has quit [Ping timeout: 246 seconds]
bhipple has joined #nixops
bhipple has quit [Ping timeout: 256 seconds]
bhipple has joined #nixops
bhipple has quit [Ping timeout: 260 seconds]