-
-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLI won't work in bitbucket pipeline #2356
Comments
You need to add docker to services on bitbucket pipeline. Also version 1.123.4 is quite behind. Try upgrading to latest cli 1.172.2. |
I should have mentioned it doesn't work with the current cli either. See this output log from bitbucket:
Notice it is using a recent version of supabase. The corresponding bit bucket pipeline (excerpt): pipelines:
branches:
master:
- step:
name: Push to Staging and Test
deployment: staging
services:
- docker
script:
- npx supabase db test --db-url $STAGING_DB These commands work just fine locally. So I'm at a loss on how to debug this. |
And I also just checked that this doesn't work either: script:
- npx supabase init
- npx supabase db test --db-url $STAGING_DB
|
Describe the bug
Supabase test, push, pull, and start doesn't work in bitbucket pipelines. The error returned:
I'm using supabase@1.123.4, and downgrading doesn't fix the problem.
Seems like there have been several related problems in the past that have required fixes to be made and deployed.
To Reproduce
Steps to reproduce the behavior:
The text was updated successfully, but these errors were encountered: