mirror of
https://github.com/aimingmed/aimingmed-ai.git
synced 2026-02-08 16:37:29 +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
|
- name: Monitor memory usage
|
||||||
run: free -h
|
run: free -h
|
||||||
- name: Test port accessibility
|
- 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
|
- name: Get container logs
|
||||||
if: failure()
|
if: failure()
|
||||||
run: docker logs backend-backend
|
run: docker logs backend-backend
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user