ci: remove unused volumes after e2e tests and remove logs collection (#246)

In this PR, we fix the ci error indicating we reached the number of
volumes allow by deleting automatically after tests the volumes.

We also remove the step that collect logs because the container that are
interesting to us to debug are being removed entirely. Therefore the
logs from the nodes are not being collected in this step.
This commit is contained in:
undercover-cactus 2025-10-23 16:02:36 +02:00 committed by GitHub
parent 06574a4cf8
commit 908a2a7ed5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -139,16 +139,6 @@ jobs:
- name: Run E2E tests
run: bun test:e2e
# Try to collect all docker logs and upload it
- name: Collect docker logs
- name: Delete volumes not used
if: always()
run: |
mkdir ./logs
for name in `docker ps -a --format '{{.Names}}'`; do docker logs $name > ./logs/$name.log 2>&1; done
- name: Upload logs to GitHub
if: always()
uses: actions/upload-artifact@v4
with:
name: logs
path: logs/
retention-days: 1
run: podman system prune --volumes -f