This commit is contained in:
Laurent Destailleur
2023-06-22 14:38:32 +02:00
parent 124193a8c3
commit 12e834c12b
2 changed files with 19 additions and 12 deletions

View File

@@ -26,6 +26,8 @@ jobs:
image: postgres
env:
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
POSTGRES_DB: postgres
# Set health checks to wait until postgres has started
options: >-
--health-cmd pg_isready
@@ -141,7 +143,8 @@ jobs:
sudo /etc/init.d/postgresql restart
#$(PGPASSWORD="postgres"; psql -h 127.0.0.1 -p 5432 -U postgres -l -A)
psql -h 127.0.0.1 -p 5432 -U postgres -l -A
psql postgresql://postgres:postgres@127.0.0.1:5432 -l -A
#psql -h 127.0.0.1 -p 5432 -U postgres -l -A
echo sudo pgloader mysql://root:password@127.0.0.1/travis postgresql://postgres:postgres@127.0.0.1:5432/travis
sudo mkdir -p /tmp/pgloader