Skip to content
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

Postgres container on bitbucket pipeline #548

Closed
NicoBondarenco opened this issue Nov 6, 2020 · 3 comments
Closed

Postgres container on bitbucket pipeline #548

NicoBondarenco opened this issue Nov 6, 2020 · 3 comments

Comments

@NicoBondarenco
Copy link

Running Playtika embedded postgres container cause bitbucket pipeline to fail with
com.github.dockerjava.api.exception.DockerException: Status 403: {"message":"authorization denied by plugin pipelines: Invalid content length provided"}

The full stacktrace is on the zip file
test.zip

I'm kinda new on create these pipelines, I don't know what to do exactly. I tried to do a lot of things that I've found, like this
testcontainers/testcontainers-java#3296
And some others

My bootstrap file has the following properties
embedded.postgresql.enabled=true
embedded.postgresql.reuseContainer=false
embedded.postgresql.dockerImage=postgres:11-alpine
embedded.postgresql.waitTimeoutInSeconds=10
embedded.postgresql.database=my_service
embedded.postgresql.user=my_service
embedded.postgresql.password=my_service

My build.gradle.kts and my pipeline configurations are on this zip
config-files.zip

Can someone help me with this?

@tdanylchuk
Copy link
Contributor

let's first wait upstream project issue will be fixed

@Aloren
Copy link
Contributor

Aloren commented Dec 2, 2020

@NicoBondarenco please verify using latest testcontainers library testcontainers/testcontainers-java#3296 (comment)

@Aloren
Copy link
Contributor

Aloren commented Jan 11, 2021

Closing the ticket.
If you have more questions please reopen the ticket.

@Aloren Aloren closed this as completed Jan 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants