Anyone ever run into a situation where `prisma dep...
# orm-help
m
Anyone ever run into a situation where
prisma deploy
wants to deploy to prisma cloud (despite contents of
prisma.yml
) but every other command, including
prisma reset
appears to be working fine?
m
just had that happen today
tried running
prisma deploy
from inside a docker container an could not get it to connect to the sibling prisma instance
Had
provider:<http://prisma:4466>
in
prisma.yml
and
prisma info
made sense but still tried to deploy to the cloud.
m
That’s analogous to my environment.
I thought I was having trouble getting a lock on the db, but reset worked and dropping down to only one prisma instance failed to solve it.
Dropped back a version or so (1.28) and it seems to have resolved. 🤷‍♂️
m
know what, I was running 1.29-beta to try out the admin tool, think we have a winner there..
wanna have the honor of filing a bug report 🙂
m
Same. 😉 but dropping down to 1.28.5 did not solve it.
Not particularly. Lol. Let’s wait and see what the crew says tomorrow.
m
Looks like a regression since 1.28.something<=5 then.
btw. since you were trying to run
deploy
from within docker - why? I was doing it as a one-off to populate the DB with the correct schema, but I'm not really sure if that's how I'm supposed to do it.
m
I was telepresence-ing into a kubernetes cluster.
m
you don't happen to know if there's a best practice for how to handle schema deployment/upgrades when in containers?
(other than always running
deploy
before starting my app that is)
and that does not sound like best practice...
m
Are you running deploy because you’re not stateful at all?
m
nah, mostly as a CI/CD thing (or at least I'm thinking it could be used that way during dev)
m
Not sure I follow. 🤷‍♂️ I don’t end up running deploy all that often in production.
m
I was more thinking during development with something like gitlab where new environments get created/destroyed on branch creation/deletion
so I was looking at it as a Q&D way to create/populate tables/data
d
@Mikael Karon: Can you please provide a small reproduction for which version is broken and maybe with a
prisma.yml
? I don't think that I have seen this issue before.
m
Thanks! 🙂