ci: update Docker Compose log dumping to use local containers.txt
This commit is contained in:
parent
16d9a0e205
commit
a2f1ea71d2
5
.github/workflows/wc-e2e-test.yaml
vendored
5
.github/workflows/wc-e2e-test.yaml
vendored
@ -50,6 +50,7 @@ jobs:
|
||||
run: wait-on --timeout 30000 http://localhost:5080
|
||||
- name: Run tests
|
||||
run: |
|
||||
docker ps -a
|
||||
cd frontend/webcomponent
|
||||
# Install Playwright browsers
|
||||
mkdir -p /tmp/ms-playwright
|
||||
@ -80,11 +81,11 @@ jobs:
|
||||
shell: bash
|
||||
run: |
|
||||
cd openvidu-local-deployment/community
|
||||
docker compose ps --format '{{.Name}}' > /tmp/containers.txt
|
||||
docker compose ps --format '{{.Name}}' > containers.txt
|
||||
mkdir -p /tmp/docker-logs
|
||||
while read container; do
|
||||
docker compose logs "$container" > "/tmp/docker-logs/${container}.log" || true
|
||||
done < /tmp/containers.txt
|
||||
done < containers.txt
|
||||
- name: Upload Docker Compose logs
|
||||
if: always()
|
||||
uses: actions/upload-artifact@v4
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user