[postgis-tickets] r16245 - Wait for database to be up before proceeding

Sandro Santilli strk at kbt.io
Tue Jan 9 12:29:32 PST 2018


Author: strk
Date: 2018-01-09 12:29:32 -0800 (Tue, 09 Jan 2018)
New Revision: 16245

Modified:
   branches/2.3/.drone.yml
Log:
Wait for database to be up before proceeding

Modified: branches/2.3/.drone.yml
===================================================================
--- branches/2.3/.drone.yml	2018-01-09 18:41:55 UTC (rev 16244)
+++ branches/2.3/.drone.yml	2018-01-09 20:29:32 UTC (rev 16245)
@@ -19,6 +19,7 @@
     image: *test-image
     commands:
       - service postgresql start
+      - while :; do psql -tAc "select version()" && break; sleep 10; done
       - make check RUNTESTFLAGS=-v
       - make install
       - utils/check_all_upgrades.sh



More information about the postgis-tickets mailing list