From 908a2a7ed58f8dd6e90adf2bcbca75fa10f53aff Mon Sep 17 00:00:00 2001 From: undercover-cactus Date: Thu, 23 Oct 2025 16:02:36 +0200 Subject: [PATCH] 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. --- .github/workflows/task-e2e.yml | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/.github/workflows/task-e2e.yml b/.github/workflows/task-e2e.yml index c3037945..135835fe 100644 --- a/.github/workflows/task-e2e.yml +++ b/.github/workflows/task-e2e.yml @@ -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 \ No newline at end of file