Skip to content

Commit

Permalink
give more time for postgres init
Browse files Browse the repository at this point in the history
  • Loading branch information
vidiecan authored Nov 16, 2023
1 parent c03a530 commit 51bb185
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/import-db/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ runs:
# create otherwise it will be created with root owner
cid=$(docker run -d --rm --name $DB5NAME -v $(pwd):/dq/scripts -v $DATADIR/dump:/dq/dump -p 127.0.0.1:$DB5PORT:5432 -e POSTGRES_DB=empty -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=dspace postgres /bin/bash -c "cd /dq/scripts && ./init.dspacedb5.sh")
echo "cid=$cid" >> $GITHUB_OUTPUT
sleep 10
sleep 25
echo "====="
docker logs $DB5NAME || true
echo "====="
Expand Down

0 comments on commit 51bb185

Please sign in to comment.