taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

commit 255de852593064cd26814835cc622cc020f20eb2
parent e13dd2e03cf883ab5a6b27dcf2ba5db748d919d1
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun, 23 Feb 2020 22:31:25 +0100

fix postgres setup logic in lcov builder

Diffstat:
Mbuildbot/coverage.sh | 8++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/buildbot/coverage.sh b/buildbot/coverage.sh @@ -8,12 +8,16 @@ PG_VER=12 PG_DIR=/usr/lib/postgresql/$PG_VER/bin # setup little postgres DB for us ... -TMP_DB_DIR=`mktemp tmpXXXXXX` +TMP_DB_DIR=`mktemp -d tmpXXXXXX` $PG_DIR/initdb -D $TMP_DB_DIR/ -A trust +export PGPORT=5432 +export PGHOST=localhost +export PGOPTIONS="-c unix_socket_directories='$HOME'" $PG_DIR/createdb talercheck $PG_DIR/createdb synccheck $PG_DIR/createdb anastasischeck -$PG_DIR/pg_ctl -D $TMP_DB_DIR/ -l logfile start +$PG_DIR/pg_ctl -D $TMP_DB_DIR/ -o "-c unix_socket_directories=$HOME" -l logfile start + for codebase in merchant exchange sync ; do TOP="$HOME/sources/${codebase}/"