comparison docker/pubsub/entrypoint.sh @ 4215:31c84a32c897

docker: modernisation and fixes: - fix geckodriver version used following `backend-dev-e2e` base image update - use Prosody image `prosodyim/prosody:0.12` instead of a deprecated one - update `pubsub` image with base image update and use of new repos names
author Goffi <goffi@goffi.org>
date Tue, 05 Mar 2024 16:43:45 +0100
parents 73e04040d577
children
comparison
equal deleted inserted replaced
4214:07439bc0ed3c 4215:31c84a32c897
9 echo "Waiting for postgres server, $((RETRIES--)) remaining attempts…" 9 echo "Waiting for postgres server, $((RETRIES--)) remaining attempts…"
10 sleep 1 10 sleep 1
11 done 11 done
12 12
13 ori_dir=${PWD} 13 ori_dir=${PWD}
14 cd /src/sat_pubsub/db 14 cd /src/libervia-pubsub/db
15 15
16 # PG should be OK, we now initialize the database. If it's already done, it will fail 16 # PG should be OK, we now initialize the database. If it's already done, it will fail
17 # with exit code 3 17 # with exit code 3
18 psql -v ON_ERROR_STOP=1 pubsub < pubsub.sql 2>/dev/null 18 psql -v ON_ERROR_STOP=1 pubsub < pubsub.sql 2>/dev/null
19 case $? in 19 case $? in