change backend port for health api
This commit is contained in:
@@ -122,7 +122,7 @@ jobs:
|
||||
exit 1
|
||||
fi
|
||||
|
||||
HEALTH_RESPONSE=$(curl -s 'http://localhost:5001/api/v1/health?force=true' \
|
||||
HEALTH_RESPONSE=$(curl -s 'http://localhost:3001/api/v1/health?force=true' \
|
||||
-H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7' \
|
||||
-H 'Accept-Language: en-US,en;q=0.9' \
|
||||
-H 'Connection: keep-alive' \
|
||||
@@ -153,6 +153,12 @@ jobs:
|
||||
echo "Health endpoint check failed. Response did not meet expected criteria."
|
||||
exit 1
|
||||
fi
|
||||
- name: Get shuffle-orborus logs if health check fails
|
||||
if: failure()
|
||||
run: |
|
||||
echo "Health check failed. Fetching shuffle-orborus logs..."
|
||||
docker logs --tail 50 shuffle-orborus
|
||||
|
||||
# notify:
|
||||
# needs: build
|
||||
# if: failure()
|
||||
|
||||
Reference in New Issue
Block a user