-
-
Notifications
You must be signed in to change notification settings - Fork 42
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
Wait until server is fully started #7
Comments
@MarkKremer As a temporary solution, I've changed the CI steps sequence: DB Setup - install dependencies - a step that uses DB. |
Guys, can you help me? I cannot make this to work. No way. I've tried a lot already and came with this, but no luck at all:
Output:
What've I missed, @MarkKremer, @ihorost? |
I don't see anything wrong with that. This is what I used to debug my problem:
(put it after the postgres action) |
Thanks @MarkKremer! Docker logs collecter is something I didn' knew. Thanks for that as well! :) |
@pashagolub Did you figure this out? I'm having a similar issue. |
@andrewDoing I did it differently since the worker's OS has PostgreSQL preinstalled. Check here: https://github.com/cybertec-postgresql/.github/blob/main/workflow-templates/postgresql-ubuntu.yml |
I had some trouble connecting to the database immediately after this action. This resulted in a "connection reset by peer" error. Adding a sleep action between the actions solved it. However, it would be better if the postgresql action could wait the appropriate amount of time itself by pinging itself or something similar.
I think this would also solve #6 but I'm not sure so therefor this separate issue.
The text was updated successfully, but these errors were encountered: