fix: server logs if error
This commit is contained in:
parent
aa1285c59c
commit
a4d4e71048
|
|
@ -132,6 +132,12 @@ jobs:
|
||||||
echo "Running tests for ${{ matrix.test_service }} with flags: ${{ matrix.test_cmd }}"
|
echo "Running tests for ${{ matrix.test_service }} with flags: ${{ matrix.test_cmd }}"
|
||||||
RUST_LOG="info" DISABLE_CI_TEST_LOG="true" cargo test ${{ matrix.test_cmd }}
|
RUST_LOG="info" DISABLE_CI_TEST_LOG="true" cargo test ${{ matrix.test_cmd }}
|
||||||
|
|
||||||
|
- name: Server Logs
|
||||||
|
if: failure()
|
||||||
|
run: |
|
||||||
|
docker ps -a
|
||||||
|
docker compose -f docker-compose-ci.yml logs
|
||||||
|
|
||||||
- name: Docker Logs
|
- name: Docker Logs
|
||||||
if: always()
|
if: always()
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
|
|
@ -151,9 +151,6 @@ services:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: ./admin_frontend/Dockerfile
|
dockerfile: ./admin_frontend/Dockerfile
|
||||||
image: appflowyinc/admin_frontend:${APPFLOWY_ADMIN_FRONTEND_VERSION:-latest}
|
image: appflowyinc/admin_frontend:${APPFLOWY_ADMIN_FRONTEND_VERSION:-latest}
|
||||||
depends_on:
|
|
||||||
appflowy_cloud:
|
|
||||||
condition: service_healthy
|
|
||||||
ports:
|
ports:
|
||||||
- 3000:3000
|
- 3000:3000
|
||||||
environment:
|
environment:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue