fix: add outputing docker compose logs
This commit is contained in:
parent
341f69e301
commit
5596d04040
1 changed files with 7 additions and 0 deletions
7
.github/workflows/e2e-self-hosted.yml
vendored
7
.github/workflows/e2e-self-hosted.yml
vendored
|
@ -46,6 +46,13 @@ jobs:
|
|||
CACHE_TYPE: redis
|
||||
SERVICE_PROXY_TYPE: ${{ matrix.service_proxy_type }}
|
||||
|
||||
- name: Output Server Logs to File
|
||||
run: docker compose -f docker-compose.ci.yml logs -f > logs/docker-compose.log 2>&1 &
|
||||
env:
|
||||
DB_TYPE: mysql
|
||||
CACHE_TYPE: redis
|
||||
SERVICE_PROXY_TYPE: ${{ matrix.service_proxy_type }}
|
||||
|
||||
- name: Wait for server to start
|
||||
run: docker/is-available.sh http://localhost:3123 $(pwd)/logs
|
||||
|
||||
|
|
Loading…
Reference in a new issue