Prisma1: Unable to deploy to cluster running 1.10.0

Created on 19 Jun 2018  Â·  2Comments  Â·  Source: prisma/prisma1

Describe the bug
I'm attempting to upgrade to Prisma 1.10. After bumping the version in my docker-compose file, and the cli version, I attempted to run prisma deploy, but received an error:

 â–¸    Invalid Version: 1.1

To Reproduce
Steps to reproduce the behavior:

  1. Update prisma image in docker-compose.yml to 1.10.0
  2. Update prisma cli to latest (1.10.0)
  3. Run prisma deploy
  4. See error

Expected behavior
Deployment proceeds

Additional context
I did some troubleshooting and I believe the issue lies with this regex.

When I log the result of cluserMatch, I get:

1.10.0
1.1
0.0

So, when clusterMatch[1] is passed to the semver check on line 281, that module throws the error from above (Invalid Version: 1.1). It seems the regex match is stripping the 0s.

I'm terrible with regex or I'd try to fix it myself, but hopefully that'll at least point you in the right direction!

I'm going to try using the most recent beta version for my docker image and see if that'll work.

Most helpful comment

Just tried knocking the docker image back to 1.10-beta and the deployment worked, for anyone who needs a work-around while this gets fixed!

All 2 comments

Just tried knocking the docker image back to 1.10-beta and the deployment worked, for anyone who needs a work-around while this gets fixed!

Fixed in 1.10.1. Please let us know if you still have that issue, then we reopen it!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dohomi picture dohomi  Â·  3Comments

nikolasburk picture nikolasburk  Â·  3Comments

hoodsy picture hoodsy  Â·  3Comments

MitkoTschimev picture MitkoTschimev  Â·  3Comments

ragnorc picture ragnorc  Â·  3Comments