mirror of
https://github.com/datahaven-xyz/datahaven
synced 2026-05-24 01:38:32 +00:00
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:
parent
06574a4cf8
commit
908a2a7ed5
1 changed files with 2 additions and 12 deletions
14
.github/workflows/task-e2e.yml
vendored
14
.github/workflows/task-e2e.yml
vendored
|
|
@ -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
|
||||
Loading…
Reference in a new issue