diff --git a/.github/workflows/create-release-n-publish.yml b/.github/workflows/create-release-n-publish.yml index fe729cda..f986ca2f 100644 --- a/.github/workflows/create-release-n-publish.yml +++ b/.github/workflows/create-release-n-publish.yml @@ -142,3 +142,5 @@ jobs: run: | make clean find /home/runner/runners/ -type f -name "*.log" -exec sh -c 'echo {}; >"{}"' \; || true + docker image prune -a -f + diff --git a/.github/workflows/run-tests-in-container.yml b/.github/workflows/run-tests-in-container.yml index c243beef..df4bb36f 100644 --- a/.github/workflows/run-tests-in-container.yml +++ b/.github/workflows/run-tests-in-container.yml @@ -32,3 +32,4 @@ jobs: run: | make clean find /home/runner/runners/ -type f -name "*.log" -exec sh -c 'echo {}; >"{}"' \; || true + docker image prune -a -f diff --git a/.github/workflows/run-tests-kafka.yml b/.github/workflows/run-tests-kafka.yml index f6cd2757..019349a9 100644 --- a/.github/workflows/run-tests-kafka.yml +++ b/.github/workflows/run-tests-kafka.yml @@ -57,3 +57,4 @@ jobs: run: | make clean find /home/runner/runners/ -type f -name "*.log" -exec sh -c 'echo {}; >"{}"' \; || true + docker image prune -a -f diff --git a/.github/workflows/run-tests-py11.yml b/.github/workflows/run-tests-py11.yml index d192d89d..40b5a717 100644 --- a/.github/workflows/run-tests-py11.yml +++ b/.github/workflows/run-tests-py11.yml @@ -105,3 +105,4 @@ jobs: run: | make clean find /home/runner/runners/ -type f -name "*.log" -exec sh -c 'echo {}; >"{}"' \; || true + docker image prune -a -f diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 3597c0bf..1985824b 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -116,6 +116,7 @@ jobs: run: | make clean find /home/runner/runners/ -type f -name "*.log" -exec sh -c 'echo {}; >"{}"' \; || true + docker image prune -a -f - name: List large files run: find . -type f -exec du -h {} + | sort -h diff --git a/Makefile b/Makefile index 963fbcfd..19874b98 100644 --- a/Makefile +++ b/Makefile @@ -26,12 +26,12 @@ reformat: # Remove cache directories and Sphinx build output clean: - rm -rf .ruff_cache - rm -rf .pytest_cache - rm -rf mnist_data - rm -rf tensorboard_events - rm -f docs_dump_tasks_* - rm -f dump_test.json + rm -rf .ruff_cache || true + rm -rf .pytest_cache || true + rm -rf mnist_data || true + rm -rf tensorboard_events || true + rm -f docs_dump_tasks_* || true + rm -f dump_test.json || true find . -type f -name "*.log" -exec rm -f {} \; || true find . -type f -name "*.pth" -exec rm -f {} \; || true find . -type f -name "mlflow.db" -exec rm -f {} \; || true