add ping to container
This commit is contained in:
parent
e94778e9ed
commit
1a493c7457
@ -78,7 +78,7 @@ jobs:
|
||||
# - name: wait for postgres
|
||||
# run: sleep 60
|
||||
- name: Check postgres reachability
|
||||
run: ping -c 200 db
|
||||
run: apt update && apt install -y iputils-ping && ping -c 200 db
|
||||
- name: postgres service check
|
||||
run: PGPASSWORD=${{ secrets.DB_PASS }} psql -u ${{ secrets.DB_USER }} -D ${{ secrets.DB_NAME }} -h ${{ secrets.DB_HOST }} "SELECT * FROM vods;"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user