Skip to content

Commit

Permalink
CI: bump retries
Browse files Browse the repository at this point in the history
  • Loading branch information
pjonsson committed Aug 7, 2024
1 parent 97e0448 commit 3be032c
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/test-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ jobs:
export LOCAL_GID=$(id -g $USER)
export $(grep -v '^#' .env_simple | xargs)
docker compose -f docker-compose.yaml -f docker-compose.db.yaml -f docker-compose.prod.yaml up -d
docker compose -f docker-compose.yaml -f docker-compose.db.yaml -f docker-compose.prod.yaml logs postgres
docker compose -f docker-compose.yaml -f docker-compose.db.yaml -f docker-compose.prod.yaml logs ows_18
- name: Sleep for 10 seconds
uses: whatnick/wait-action@master
Expand All @@ -68,14 +70,11 @@ jobs:
# These tests require a working database
- name: Test ping
run: |
curl --show-error --fail \
--connect-timeout 5 \
--max-time 10 \
--retry 5 \
--retry-delay 0 \
--retry-max-time 40 \
"localhost:8000/ping" \
> /dev/null
curl --show-error \
--max-time 160 \
--retry 15 --retry-connrefused \
--retry-delay 3 \
"localhost:8000/ping"
- name: Test WMS GetCapabilities
run: |
Expand Down

0 comments on commit 3be032c

Please sign in to comment.