Closed wahyudibo closed 1 year ago
@wahyudibo that is a very weird situation. If you add the upload-container-logs: always
option to your step's plugin configuration you should be able to get the complete output of the postgresql logs that should allow us all continue to troubleshoot this issue.
Hi guys, i have a problem running an integration test using docker-compose consisting of web service and database. So, here's my
pipeline.yml
:and here's my
docker-compose.yml
:you can see in the
database
section, i have mounted volume that contains schema definition to create tables and fill it up with seed data. It running successfully in my local usingdocker-compose
command but i get this error in the pipeline:The error indicates that the table
users
is not there yet. I try to put asleep
at the beginning of the test to ensure that this is not some data race problem but it seems not. My guess is somehow the volume in thedatabase
is not mounted in the pipeline so the database doesn't pick up the schema and run it at the database initialization. Please kindly suggests. Thank you