samueldr changed the topic of #nixops to: NixOps related talk | logs: https://logs.nix.samueldr.com/nixops/
nuncanada has quit [Quit: Leaving]
mctl has quit [Quit: WeeChat 2.8]
teto has quit [Ping timeout: 246 seconds]
betamike has joined #nixops
<betamike> DigitalKiwi: was attempting to try out the nixops-digitalocean changes you had, but I'm having trouble getting a nixops dev-shell with the nixops-do plugin included (fairly new to nix so not having much luck debugging)
<DigitalKiwi> ./dev-shell --arg p "(p: [(p.callPackage ../nixops-digitalocean/release.nix {})])" -I nixpkgs=~/projects/nixpkgs-new
<DigitalKiwi> the -I is likely optional
<DigitalKiwi> (for you)
<DigitalKiwi> that's what i do from a nixops git repo
<DigitalKiwi> it might not work with the latest master...i'm not sure if it's python3 yet? i haven't updated the plugin to python3 yet
<DigitalKiwi> commit 4ef8dd9524823f7238c015c690da7c18c19a7333 (HEAD -> master, origin/master, origin/HEAD)
<DigitalKiwi> i know it worked on that one at least :)
<betamike> Alright I'll give that commit a try. That's the command I tried before (minus the -I flag) and it didn't seem to work at latest nixops master (but then again I could be doing something else wrong)
<DigitalKiwi> oh and there's a caveat that there was an update to python-digitalocean that you need...it's on nixos-unstable for sure...
<DigitalKiwi> well
<DigitalKiwi> it may not need it, i can't remember ;_;
* DigitalKiwi has just always used it
<betamike> running at commit you passed worked, nixops sees the digitalocean plugin in the env now
<betamike> thanks!
<{^_^}> #81217 (by Kiwi, 7 weeks ago, merged): pythonPackages.digital-ocean: 1.13.2 -> 1.15.0
<DigitalKiwi> it's more likely that the volumes branch won't work without that version of the plugin than not
<betamike> I should have it assuming I'm pointing at nixpkgs-unstable?
<DigitalKiwi> yeah
<betamike> So it printed "testVolume> creating volume ..." but I don't see any new volume on my account :\
<DigitalKiwi> huh
<betamike> just to check, I also had the test deployment create a droplet and that does work, so at very least the api part is working
<DigitalKiwi> i think that's what i used
<betamike> oh it printed the tacktrace, just buried in the droplet spinup noise... user error
<betamike> "digitalocean.DataReadError: failed to create volume: invalid volume name. names must be lowercase and alphanumeric"
<betamike> did not know capital letters were disallowed
<betamike> yup works with no capital letters in the volume name
<DigitalKiwi> oh, cool!
<DigitalKiwi> please make sure that it's actually deleting them if you delete them because i've had it not delete them before and i'm not sure if that no longer happens or not yet and i don't want you to accidentally get charged :)
<DigitalKiwi> having to manually attach them anyway right now is a bit annoying so i don't use that feature yet. really need to work on it more before it's imo useful
<betamike> I'll test deletion, thanks for the heads up. and yeah now that I have a test setup, I may be motivated to try getting attach working
<DigitalKiwi> i've been meaning to turn it into python3 and add mypy stuff to it
<DigitalKiwi> maybe i'll try to get back at it soon. been busy oh other stuff https://twitter.com/ArchKiwi/status/1250828424375042049?s=20 https://twitter.com/ArchKiwi/status/1250600070636097536?s=20 and building a subwoofer...
<betamike> oh very cool
<betamike> If I make any progress I'll make a pr
<DigitalKiwi> awesome, thanks!
<betamike> alright, heading off for the night, later!
<DigitalKiwi> gn
teto has joined #nixops
teto has quit [Ping timeout: 246 seconds]
teto has joined #nixops
bhipple has joined #nixops
bhipple has quit [Ping timeout: 256 seconds]
teto has quit [Quit: WeeChat 2.8]