Closed aileo closed 3 years ago
If you follow that link you can see that the auth-trust parameter is only supported for postgres versions 11, 12, and 13. The environmental variable is only required for postgres 12+. The variable is already set in the associated docker-compose file. As such I do not think this is an appropriate PR to merge, sorry.
I'm pulling fresh versions of all postgres images and will run the tests again, just to be sure.
My pg-9.4 was stuck due to this message, and adding this solved it. but it could be a mistake on the postgres docker side, like the initialization script doing some inappropriate verification against that environment variable
I can certainly reproduce it being stuck!
https://github.com/docker-library/postgres/blob/master/docker-entrypoint.sh#L94
If I read this correctly, the postgres image check for the environment variables no matter the version.
Ah nice find. Yeah after applying this change the tests run with postgres 9.4 etc. Takes so long to run them all that I haven't verified further than that.
Thank you for this PR
I had this error running tests:
So I added
POSTGRES_HOST_AUTH_METHOD=trust
environment variable to the common docker-compose.yml