Skip to content

Database tests cannot be executed on BitBucket Pipeline #1830

@asciiwhite

Description

@asciiwhite

Describe the bug
Running our database test in an Bitbucket pipeline fails due to some docker related settings.

npx supabase db test
Connecting to local database...
3.36: Pulling from supabase/pg_prove
...
Status: Downloaded newer image for public.ecr.aws/supabase/pg_prove:3.36
failed to create docker container: Error response from daemon: cannot share the host's network namespace when user namespaces are enabled

To Reproduce
Run npx supabase db test inside a BitBucket Cloud Pipeline.

Expected behavior
The database tests should be executed with issues.

Desktop (please complete the following information):

  • Version of CLI v1.131.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions