heroku / heroku-connect-plugin

CLI plugin for Heroku Connect (experimental)
Apache License 2.0
23 stars 8 forks source link

Bug: db:set does not work (anymore) #92

Closed codingjoe closed 6 years ago

codingjoe commented 6 years ago
heroku connect:db:set --schema salesforce --db DATABASE_URL --app "$HEROKU_APP_NAME"

produces no stdout or stderr and the connection remains on NEW.

You can reproduce this by simply trying our sample app: https://github.com/Thermondo/django-heroku-connect-sample

codingjoe commented 6 years ago

Tested on 0.6.0/latest.

codingjoe commented 6 years ago

It does still work in 0.5.0:

$ heroku plugins:install heroku-connect-plugin@0.5.0 --force
$ johannes$ heroku connect:db:set --schema salesforce --db DATABASE_URL -a "$HEROKU_APP_NAME"
setting database parameters... done
db_key:      DATABASE_URL
schema_name: salesforce
codingjoe commented 6 years ago

btw, you didn't tag the 0.6.0 release (makes debugging simpler)

codingjoe commented 6 years ago

My best guess at this point is the updated dependencies: https://gist.github.com/b23d5ea570bf760b821c41f6a70dd982

sigmavirus24 commented 6 years ago

Thanks for the report @codingjoe. v0.6.1 has been released with the fix. 🎉

codingjoe commented 6 years ago

Thanks @sigmavirus24 with that I finally managed to setup a full deployment pipeline to provision heroku connect for review apps with SF sandboxes. Awesome!

sigmavirus24 commented 6 years ago

Woah! That's awesome to hear! I'll pass that along to the team.