onaio / kaznet-web

a tasking application built on top of Onadata
Apache License 2.0
4 stars 1 forks source link

Waits for Postgres to Come Up Before Running DroneCI Testing #348

Closed jasonrogena closed 5 years ago

jasonrogena commented 5 years ago

In the .drone.yml file, install netcat and use it wait until the postgres service is fully up. The nc command will timeout after 300 seconds of not being able to connect to PostgreSQL.

Fixes #347

Signed-off-by: Jason Rogena jason@rogena.me