mirror of
https://github.com/aimingmed/aimingmed-ai.git
synced 2026-01-19 13:23:23 +08:00
update
This commit is contained in:
parent
131fe23571
commit
9d33cb538f
9
.github/workflows/develop.yml
vendored
9
.github/workflows/develop.yml
vendored
@ -126,7 +126,14 @@ jobs:
|
||||
- name: Monitor memory usage
|
||||
run: free -h
|
||||
- name: Test port accessibility
|
||||
run: curl -v http://localhost:8004
|
||||
run: |
|
||||
# Attempt to connect to the service on localhost:8004
|
||||
echo "Testing port accessibility on localhost:8004..."
|
||||
curl -v http://localhost:8004 || {
|
||||
echo "Port 8004 is not accessible!"
|
||||
exit 1
|
||||
}
|
||||
echo "Port 8004 is accessible."
|
||||
- name: Get container logs
|
||||
if: failure()
|
||||
run: docker logs backend-backend
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user